2

Since direct login as root is not permitted in debian 8, how can I switch to root or log as root ?

Yvon Huynh
  • 453
  • 3
  • 16

1 Answers1

3

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
xyronexus
  • 96
  • 5
  • 2
    How is this offtopic? there are tags debian sftp winscp, the topic is about them, guy asked question and i answer them instead being rude. If someone think it's wrong section, just move it to good one. Not everyone know how it's done from beginning. – xyronexus Jun 15 '17 at 12:28
  • How is this a programming question? – Martin Prikryl Jun 15 '17 at 13:30
  • Well isn't stack used to ask question not only about programming, but also installing and configuring? – xyronexus Jun 15 '17 at 16:16
  • Only if it is about installing/configuring tools specifically used for programming only. And this question is not about that. See https://stackoverflow.com/help/on-topic – Martin Prikryl Jun 15 '17 at 16:19