Week 4: Removing The Root SSH Connection - ConnorEast/Tech-Journal GitHub Wiki

** #Removing the root shh connection**


  • Turn on your DHCP server and log in as your wheeled account.
  • Use the following command "sudo nano /etc/ssh/sshd_config"
  • Locate "PermitRootLogin" and change its variable equal to "no"; (uncomment it if applicable).

Capture

  • Save document and exit.
  • next use the command "sudo systemctl restart sshd" and attempt to log onto your device using an ssh connection.