no edit summary
# Switch to your '''centos3''' VM.<br><br>
We can use the '''netstat''' utility as a trouble-shooting / confirmation tool to view the SSH service and determine which STATE the SSH service is performing
::'''LISTENING''' (waiting for a ssh connection attempt) :'''ESTABLISHED''' (connection established) :'''CLOSED''' (connection is closed) :'''WAITING''' (time between connection closed, and changing to LISTENING mode)<br><br><ol><li value="2">Run the '''netstat -atunp''' command (pipe to "grep sshd") to check the state of a possible ''ssh connection''. What is the state (i.e. LISTENING or ESTABLISHED)?
<li>Open another terminal and establish an ssh connection to your '''centos3''' VM using the command:<br /><b><code><span style="color:#3366CC;font-size:1.2em;">ssh ops235@centos3</span></code></b><br>(Where 'ops235' is the account on centos3 and 'centos3' is the hostname of the centos3 VM.)<br><br></li>
<li>You should receive a message similar to the following:<br><br>