13,420
edits
Changes
no edit summary
# Try sshing from your '''centos1''' VM to your '''centos2''' VM. Where you successful? Would it work if you let "AllowUsers account" without a username, or a non-existent username?
# Next change the default port number that sshd uses (TCP:22).
# Edit the '''/etc/ssh/sshd_config''' file again , un-comment the port option and change the port number it uses from ''22'' to '''2200'''.
# Restart the service.
# Confirm the new port is being used with the '''netstat''' command.