Reputation: 463
Since direct login as root is not permitted in debian 8, how can I switch to root or log as root ?
Upvotes: 2
Views: 8184
Reputation: 106
If you are trying to login to sftp via password as root, and not with rsa key edit
nano /etc/ssh/sshd_config
and change line
PermitRootLogin without-password
to
PermitRootLogin yes
Upvotes: 3