Open main menu

CDOT Wiki β

Changes

OPS235 Lab 7 - CentOS7

40 bytes added, 13:19, 7 July 2015
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.
13,420
edits