- Log in to post comments
# configure ssh port to 2222
vi /etc/ssh/sshd_config
PasswordAuthentication no
Port 2222
# restart ssh demon
/etc/init.d/ssh restart
# configure ssh port to 2222
vi /etc/ssh/sshd_config
PasswordAuthentication no
Port 2222
# restart ssh demon
/etc/init.d/ssh restart