Skip to main content

All Questions

Tagged with
0 votes
0 answers
322 views

Turning off PermitRootLogin in sshd prevents any user to connect

I have a Debian bullseye virtual machine in OVH cloud. Allowing ssh login as root is non-secure, so I decided to turn it off in /etc/ssh/sshd_config by commenting out the line PermitRootLogin yes. ...
Dmitry K's user avatar
0 votes
0 answers
215 views

Login in as root in Debian on an AWS instance

As the title says, I want to Login in as root in Debian on an AWS instance. I have tried various methods as described in this, this and others. In other words I have set: PermitRootLogin yes ...
Chiwda's user avatar
  • 123
0 votes
0 answers
419 views

After Debian 8 to Debian 9 to Debian 10 Dist-Upgrade i cannot connect via ssh as root or user

After i upgraded a Debian 8 server to Debian 10 and rebooted it, iam no longer allowed to ssh into it. When i use the -vvv i get this message: OpenSSH_8.6p1, OpenSSL 1.1.1k 25 Mar 2021 debug1: ...
AreUSirius_'s user avatar
1 vote
1 answer
170 views

Linux root SSH permission restrictions

I am using NetBeans 8.0.1 on windows and compiling/running/debugging on a remote host on a debian PC on the LAN. I have set up the NetBeans host as root. I also have it set up to debug using gdb. My C ...
Erik Friesen's user avatar
46 votes
2 answers
71k views

Can I create an SSH user which can access only certain directory?

I have a Virtual Private Server which I can connect to using SSH with my root account, being able to execute any linux command and access all the disk area, obviously. I would like to create another ...
Frantisek's user avatar
  • 1,936