Repository navigation
Securing SSH
Ethan W edited this page Sep 17, 2026
·
8 revisions
sudo nano /etc/ssh/sshd_configUncomment what you want to change, and always make a backup file
remove the override file (01-permitrootlogin.conf)
sudo rm -f /etc/ssh/sshd_config.d/01-permitrootlogin.confsudo systemctl restart sshdnote. Restarting the sshd service will apply the changes made
If you get access denied with the correct passwd then the root will not be able to SSH (this can also be done through PowerShell)
To view specifically SSH logs, use 'journalctl -u sshd' to query the service- Proxmox
- Windows
- Active Directory
- Linux
- Pfsense