Open main menu

CDOT Wiki β

Changes

OPS235 Lab 7 - CentOS7 - HD2

10 bytes added, 16:13, 24 October 2016
no edit summary
# Next, let us "fool" potential penetration testers by changing the default port number that sshd uses from port 22 to port 2200.
# Edit the '''/etc/ssh/sshd_config''' file again, un-comment the port option and change the '''port number''' it uses from ''22'' to <b><code><span style="color:#3366CC;font-size:1.2em;">2200</span></code></b>.
# <u>Restart</u> the '''ssh''' service.
# Confirm the new port is being used with the '''netstat''' command.
# Switch to your '''centos1''' VM.
13,420
edits