Open main menu

CDOT Wiki β

Changes

OPS235 Lab 7 - Fedora17

45 bytes added, 19:09, 28 February 2012
no edit summary
# <code>openssh-server</code> installs a service called <code>sshd</code>, <span style="background-color:yellow">confirm this service is running by issuing the command:</span><br /><code><span style="background-color:yellow">systemctl status sshd.service</span></code>
# Now check that the <span style="background-color:yellow">sshd service is configured to start for runlevels 2, 3, 4, & 5, by issuing the command:</span><br /><code><span style="background-color:yellow">systemctl list-units sshd</span></code>
# <span style="background-color:yellow">If the service is not configured correctly fix it by issuing the command:</span><br /> <code><span style="background-color:yellow">chkconfig --level 2345 sshd on</span></code>
# Now that you know the service is running investigate what port number and protocol sshd uses by issuing the command:<br /><code>netstat -atunp</code>
# What protocol and port is the sshd process using?
13,420
edits