Securing SSH - lizzy9596/my-tech-journal GitHub Wiki
How to disable ssh?
-
First I typed in the command: vi /etc/ssh/sshd_config
-
After I scrolled down to the line PermitRootLogin and changed yes to no!
- After I saved and exited vim.
- then did command sudo systemctl restart sshd