How to change SSH Port
In most of the cases when a Web hosting company setup a new dedicated server, what they tech do is they do not change the SSH port as by default its “22″. Later on it might result in security threat, So what the system Administrator recommend is to change the SSH Port from “22″ to any other value. Here are few steps to change it.
1. Login as root to your server using Putty.
2. Now enter the following command to edit the ssh config file.
pico /etc/ssh/sshd_config
![]()
3. Now change the Port

4. Save the changes by pressing (ctrl+o)
5. Close that editing mode using (ctrl+x)
6. Restart SSH using the following command
service sshd restart
7. Now Login with new SSH Port.

No related posts.
No comments yet.
Leave a comment