Open main menu

CDOT Wiki β

Changes

OPS235 Lab 7 - Fedora17

128 bytes added, 20:08, 28 February 2012
no edit summary
# OpenSSH should have been installed by default. Lets confirm this by issuing the command:<br /> <code>rpm -qa | grep ssh</code>
# You should see a number of packages installed including <code>openssh-clients</code> and <code>openssh-server</code>
# <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></span># 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>chkconfig --level 2345 sshd on</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