Changes

Jump to: navigation, search

OPS235 Lab 7 - CentOS7

No change in size, 13:06, 7 July 2015
no edit summary
# The next change you can make is to prevent the root account from logging in to sshd altogether.
# Change to your centos2 VM and open a terminal.
# Edit the file '''/etc/ssh/sshd_config''' and look for the option '''>PermitRootLogin'''. Uncomment Un-comment the option (or add the option if it does not appear) and change the option value to '''"no"'''.
# Even better, it is possible to restrict access to just specific users that require it.
# Edit the file '''/etc/ssh/sshd_config''' and add a new option of '''"AllowUsers account"''' using your login account for account.
13,420
edits

Navigation menu