Changes

Jump to: navigation, search

OPS235 Lab 7 - CentOS7 - HD2

233 bytes added, 10:38, 3 November 2016
no edit summary
# Restart the ssh service.
# Try SSHing from your c7host VM to your centos1 VM for the account called '''other'''. Did it work this time?
# Issue the following command to make a backup copy of your sshd_config file to your original regular user's home directory:<br><b><code><span style="color:#3366CC;font-size:1.2em;">cp /etc/ssh/sshd_config /home/regularuserid/sshd_config.bk</span></code># Issue the following command to allow same group and other group members to view the file contents:<br><b><code><span style="color:#3366CC;font-size:1.2em;">chmod og+r /home/regularuserid/sshd_config.bk</span></code>
<ol><li value="15">Finally, as a system administrator, you should periodically monitor your system logs for unauthorized login attempts.</li>
<li>On CentOS systems the log file that is used is '''/var/log/secure''' </li>
13,420
edits

Navigation menu