IT Tutorial
How To Change SSH Default Port
Here we will change the ssh default port from 22 TCP to 3310 TCP. For SSH port change kindly login into your server, as root user via putty or console.
After that edit /etc/ssh/sshd_config
#vi /etc/ssh/sshd_config ######Look for the following line: #Port 22 ######Change the port to Port 3210 #### Save sshd_config file with this command :wq!
Restart SSH services with this command
#service sshd restart or #/etc/init.d/sshd restart
Try to connect to your server via putty, but you need to change the ssh default port to 3310.
This entry was posted by faisal on January 26, 2012 at January 26, 2012, and is filed under Linux. Follow any responses to this post through RSS 2.0.You can leave a response or trackback from your own site.