Securing SSH - InaFricke/SYS-255 GitHub Wiki

Vi

  1. login to dhcp01

  2. enter sudo and PW

  3. vi /etc/ssh/sshd_config

  4. press I to type

switch yes to no

  1. delete the # to uncomment it

  2. esc

  3. : wq

w= writes it q= quits vi

  1. run sudo systemctl restart sshd

  2. attempt ssh on wks01 3 times as root to test

ssh root@dhcp01-ina