Open main menu

CDOT Wiki β

Changes

OPS235 Lab 7 - Fedora17

768 bytes added, 19:02, 15 March 2010
no edit summary
* If the service is not configured correctly fix it by issuing the command:
** <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:
** <code>netstat -atunp</code>
* What protocol and port is the sshd process using?
* What is the state of the port?
* Why do UDP ports not have a state?
* Reissue the <code>netstat</code> command without the <code>n</code> option.
* What is the difference?
* The <code>n</code> option tells netstat to list everything with numerical values, without it netstat resolves IP addresses and port numbers to host names and protocol names using the files <code>/etc/hosts</code> and <code>/etc/services</code>
* <code>netstat</code> is a very useful command for anything to do with networking. Read its man page and make sure you understand its output.
9
edits