Securing SSH - InaFricke/SYS-255 GitHub Wiki
Vi
-
login to dhcp01
-
enter sudo and PW
-
vi /etc/ssh/sshd_config -
press I to type
switch yes to no
-
delete the # to uncomment it
-
esc
-
: wq
w= writes it q= quits vi
-
run
sudo systemctl restart sshd -
attempt ssh on wks01 3 times as root to test
ssh root@dhcp01-ina