Since direct login as root is not permitted in debian 8, how can I switch to root or log as root ?
Asked
Active
Viewed 6,871 times
2
-
Off-topic. Anyway, see https://stackoverflow.com/q/11464824/850848 – Martin Prikryl Jun 04 '17 at 18:17
1 Answers
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
-
2How 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
-
-
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