1.System version
free18.04
2. Operation steps
- Change "#PermitRootLogin prohibit-password" to yes
sudo vim /etc/ssh/sshd_config
- 1
- Find the #PermitRootLogin line and modify it to:
PermitRootLogin yes
- 1
- Restart ssh service
sudo systemctl restart sshd.service
- 1
Call it a day