Changing the default SSH port
Open the
/etc/ssh/sshd_config
file.Change the SSH port and save the file.
Restart the SSH server to apply new configuration.
Logout of your server and re-login using the new port.
Specify -i
if using private key to login.
Last updated