How to enable root SSH login in Debian Jessie
Just after clean Debian Jessie Linux installation, you will install SSH Daemon and then you will encounter an issue when you are not able to login via SSH with root account.
$ ssh [email protected] [email protected]'s password: Permission denied, please try again.
To enable root login with SSH, you must configure SSH daemon in /etc/ssh/sshd_config. Change the following line:
FROM: PermitRootLogin without-password TO: PermitRootLogin yes
After that, restart SSH:
# /etc/init.d/ssh restart
Then you will be able to login via SSH with root.
- Hits: 6703