Changes

Jump to: navigation, search

OPS235 Lab 7

149 bytes removed, 08:05, 28 June 2016
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), or '''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>
<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>
13,420
edits

Navigation menu