All Questions
217
questions
0
votes
0
answers
179
views
Debian SSH cant sudo
i have a Debian Server which only can be accessed remotely via SSH.
And i have a Couplet of Problems.
When i try to login as root it does not accept my password.
When i am logged in as normal user i ...
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. ...
0
votes
0
answers
430
views
ssh from windows 10 to debian with no password
I tried to SSH without a password from a Windows 10 client to a Linux [Debian] server without using a password, following every step described here; however, I am still asked for the password every ...
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
...
1
vote
1
answer
39
views
Apparent SSH anomaly
I have four machines on which I'm installing Debian 11.2. On three of them, there was nothing I wanted to save, so I just did a clean install. On the fourth (10.0.0.96) I needed to save some stuff so ...
0
votes
1
answer
946
views
Operation time out when attempting to connect to server with SSH after scp started hanging
I was transferring a file between two remote machines when the scp command stopped at 92%. Now, I'm unable to SSH into my server from my local machine. I do have access via my server host's VNC ...
0
votes
0
answers
2k
views
Permission Denied When trying to SSH with Public IP
SSH: Permission Denied, when using Public IP address
I am trying to remotely connect from one PC to another host's Virtual Machine(VM).
I can easily SSH from Host to Virtual Machine but when trying to ...
1
vote
1
answer
1k
views
OpenSSH Problems combining PAM and Password
I'm playing around with MFA out of personal interest and ran in to an issue I haven't been able to figure out.
I recently set up PAM (using Google Authenticator) and would like to combine this with ...
0
votes
0
answers
29
views
debian several ssh in shellscript file not works
In Ubuntu, I have a shell script file. In my script, the first ssh command to the Debian server works but the second ssh has error.
for example, if I have
ssh -t "$userName"@"$...
0
votes
0
answers
122
views
Debian server on a flash drive
I want to make an flash drive that when you put it into an computer it will boot the debian up and you can ssh into it. I don't want to boot into it, because I sometimes don't have a lot of time or i ...
1
vote
0
answers
214
views
How to configure the ssh plug in for Visual Studio Code in case the remote server uses port knocking?
So there is a server which has port knocking (e.g by using linux subsystem for windows) I can easily ssh to by
$ knock -v "ip of the server" Xport:udp Yport:udp Zport:udp
$ ssh -i ~/.ssh/...
5
votes
3
answers
6k
views
`systemctl --user` results in "Failed to connect to bus" in google compute instance
I'm connected to a google compute instance via ssh with Debian 9. When I try any systemctl --user ... command (systemctl --user status for instance) I get an error: "Failed to connect to bus: No ...
0
votes
1
answer
1k
views
Where does Putty get the server host public key?
I'm logging into a Debian box and I get the security alert showing me the host public key. When I compare the full public key reported by PuTTY to the one in ~/.ssh/authorized_keys I find that they ...
-1
votes
1
answer
2k
views
Why is OpenSSH server installed and enabled by default?
I am installing a new Debian based distro. I'm following a guide and it appears that OpenSSH server is enabled by default. That is, openssh-server is installed by default. To my understanding, this is ...
2
votes
2
answers
18k
views
X11 forwarding: Unable to init server: Could not connect: Connection refused. What is needed for an X11 connection?
I want to control a no GUI Debian server by an X11 connection via ssh from Ubuntu desktop. From everything I read and watched it should work like a charm on Linux distros but it doesn't.
# The ...