Yvon Huynh
Yvon Huynh

Reputation: 463

How to access as root with WinSCP to Debian 8 server

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

Answers (1)

xyronexus
xyronexus

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

Related Questions