Changes

Jump to: navigation, search

OPS235 Lab 7 - Fedora17

1 byte added, 09:40, 19 March 2011
no edit summary
# The next change you can make is to prevent the root account from logging in to sshd altogether.
# Edit the file <code>/etc/ssh/sshd_config</code> and look for the option <code>PermitRootLogin</code>. Uncomment the option (or add the option if it does not appear) and change the option value to <code>"no"</code>.
# Even better , it is possible to restrict access to just specific users that require it.
# Edit the file <code>/etc/ssh/sshd_config</code> and add a new option of <code>"AllowUsers account"</code> using your login account for account.
# In order for these changes to be effective, issue the following command to restart the sshd service:<br /><code>service sshd restart</code>
13,420
edits

Navigation menu