Change SSH port

# configure ssh port to 2222
vi /etc/ssh/sshd_config
PasswordAuthentication no
Port 2222
 
# restart ssh demon
/etc/init.d/ssh restart

Do you like this page? Then support it. Please click the AD below and visit the sponsor. Thank you!