Changes

Jump to: navigation, search

OPS235 Lab 7 - CentOS7 - SSD

1 byte removed, 08:39, 15 June 2016
no edit summary
{|width="40%" align="right"
|- valign="top"
 
|{{Admon/tip |Troubleshooting Tips for SSH|Cannot connect via SSH? To fix issues with the ability to ssh, on both machines:<ul><li>Ensure ssh is '''running'''.</li><li>Disable '''SELinux'''</li><li>'''Flush iptables''' (iptables -F)</li><li>For '''scp''', use the access the option (eg. '''scp -P 2200''' )</li></ul> }}
 
|}
===Part 2: Making sshd More Secure ===
# Issue the commmand: <b><code><span style="color:#3366CC;font-size:1.2em;">ssh username@centos2</span></code></b>. What happens? What port do you think that command is using by default?
# Now issue the following command to ssh via port "2200": <b><code><span style="color:#3366CC;font-size:1.2em;">ssh -p 2200 username@centos2</span></code></b>. Where you able to connect?
 
{|width="40%" align="right"
|- valign="top"
 
|{{Admon/tip |Troubleshooting Tips for SSH|Cannot connect via SSH? To fix issues with the ability to ssh, on both machines:<ul><li>Ensure ssh is '''running'''.</li><li>Disable '''SELinux'''</li><li>'''Flush iptables''' (iptables -F)</li><li>For '''scp''', use the access the option (eg. '''scp -P 2200''' )</li></ul> }}
 
|}
<ol><li value="17">Finally, as a system administrator, you should periodically monitor your system logs for unauthorized login attempts.</li>
<li>On CentOS systems the log file that is used is '''/var/log/secure''' </li>
13,420
edits

Navigation menu