SSH Troubleshooting
Activate SSH login for user "root"
Edit the SSH configuration file:
sudo nano /etc/ssh/sshd_config
Change or add the following line:
/etc/ssh/sshd_config
# Change or add the following line:
PermitRootLogin yes
Restart the SSH service:
sudo systemctl restart sshd
# or for some distributions
sudo systemctl restart ssh
Check if SSH login for user "root" is activated:
sudo sshd -t