Open main menu

CDOT Wiki β

Changes

OPS235 Lab 7 - CentOS7

23 bytes added, 12:24, 25 June 2015
no edit summary
# Now that you know the service is running investigate what port number and protocol sshd uses by issuing the command:<br /><b><code><span style="color:#3366CC;font-size:1.2em;">netstat -atunp</span></code></b>
# What protocol and port is the sshd process using? What is the state of the port? Why wouuld you think that UDP ports don't have a state?
# Reissue the <b><code><span style="color:#3366CC;font-size:1.2em;">netstat</span></code></b> command without the '''-n''' option. # What is the difference? # How is the file '''/etc/services''' related to the difference?# '''netstat''' is a very useful command for anything to do with networking. Read its the man page pages and make sure you understand its the netstat command's output.# Make sure your the '''sshd''' service is running on '''all 3 of your VM's'''
'''Answer Part 1 observations / questions in your lab log book.'''
13,420
edits