Changes

Jump to: navigation, search

OPS335 Lab 1

8 bytes added, 14:24, 14 January 2017
Configuring the SSH Service
**Uncomment it, and change '''PermitRootLogin''' to '''no'''.
*Now try to use ssh from one of your VMs to log into your host as root.
**You'll still be able to. This is because (for most services) the '''changes you make to the configuration file do will not take effect until the service restarts'''.
**Restart the sshd service on your host and try to ssh in again. Now it should prevent you.
*The configuration files for most services follow a very similar format. Some use an = between the parameter and its value, some require you to group certain parameters together, and most use # to be a comment. You will get lots of experience working with the configuration files for services in this course.
13,420
edits

Navigation menu