Configuring SSh on a non-standard port
=============
Here are the steps to configure SSH to run on a non-standard port other than 22.
1. Open the SSH configuration file /etc/ssh/sshd_config
2. Browse to the following line:
# Port 22
3. Uncomment and edit this line to reflect the new port settings.
eg: Port 2222 (this can be set to any non standard port)
4. Save and quit the file, and restart ssh.
# /etc/init.d/ssh restart
=============
Here are the steps to configure SSH to run on a non-standard port other than 22.
1. Open the SSH configuration file /etc/ssh/sshd_config
2. Browse to the following line:
# Port 22
3. Uncomment and edit this line to reflect the new port settings.
eg: Port 2222 (this can be set to any non standard port)
4. Save and quit the file, and restart ssh.
# /etc/init.d/ssh restart
No comments:
Post a Comment
Note: only a member of this blog may post a comment.