I had raspbian whezy on my Rpi2, but decide to upgrade to jessie. I'm glad with this change... But...

After fresh install, I have changed password of user pi and root.

I have allways used winscp and log as root on whezy version, but I can't do it with Jessie

What I have to do to enable log as root with sftp?

1 Answer 1


Set PermitRootLogin yes in /etc/ssh/sshd_config.
It's a security risk and therefor I recommend you not to do it and that's exactly why the default was changed.
But, it's your system.

  • I just want to do this, because I need to change some files via SFTP. And if I log as Pi or other user, I don't have necessary privileges to change some files. I'm not very good under command line (vi or nano), so I prefer to do trough SFTP.
    – plopes
    Dec 7, 2015 at 11:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.