Questions tagged [sshd]
the secure shell (SSH) daemon
756 questions
0
votes
1
answer
52
views
How do I stop a sftp-chrooted user from escaping by changing its username?
I have 2 users and their distinct ssh keys, and a ssh server only accepting keys
user_1: a normal account with ssh and sftp accesses. Trusted. It can escape its home and download anything it can read....
4
votes
1
answer
661
views
Upgraded Debian Bookworm to Trixie, ssh login now hanging for 10 seconds
As the title says. Upgraded Bookworm > Trixie, and now ssh is hanging 10 seconds at login, via home local network, when it never used to.
2025-08-17T16:07:29.828339+10:00 debian sshd-session[4260]: ...
0
votes
1
answer
162
views
sshd service doesn’t start when booting Arch Linux
I installed OpenSSH, but the SSH server sshd doesn't start automatically on boot.
I can start sshd manually without any issues.
sudo /usr/bin/sshd
Starts;
[john2@archlinux2 work]$ sudo systemctl ...
0
votes
1
answer
64
views
Reasons for reverse SSH tunnel failure
I have a NAS in my living room with a bunch of services like GitLab, NextCloud, my personal Website etc. running on it. All these services are reachable via a reverse SSH tunnel between my Ionos VPS ...
2
votes
1
answer
101
views
Restrict ssh access to single host per user
I am trying to restrict SSH for a user to a specific host:
I would like userA to be able to SSH to any host, allowing only pubkey authentication, and only if the connection comes from 192.168.1.17. I'...
0
votes
0
answers
83
views
RHEL9 + CIS system will not accept pasted ssh password *ONLY ON FIRST SSH*
I have a RHEL9 server where I ran the RHEL9 CIS ansible-lockdown role and configured it so that root can ssh in (yes I know, will be remedied in the future).
The system is doing something very strange....
0
votes
1
answer
1k
views
Rhel 9 SSH giving ssh_dispatch-run-fatal error
I'm trying to connect to a RHEL9 VM using ssh.
When attempting, it gives the error:
Connection closed by xxx.xxx.xxx.xxx port 22
I checked the /var/logs/secure log and found the following error
...
-1
votes
1
answer
65
views
publickey authentication getting failed in rhel
I have 2 RHEL machines . I am attempting to login via ssh with publickeyauthentication from 1 machine (say Machine A) to the other (say machine B) both of which are in the same network. For that first ...
0
votes
0
answers
53
views
Connections not kept alive with ServerAliveInterval passed from SSH
After openssh 9.2, it is recommended to use ChannelTimeout and UnusedConnectionTimeout that provide granular idle session/connection timeout and behaviour of ClientAliveCountMax=0 parameter was ...
0
votes
2
answers
513
views
Solaris 10: ssh using authorized_keys problem. It's requiring a password. Resolution?
I'm trying to ssh into a Solaris 10U11 system using a public key in the authorized keys on the system. Does anyone know why I keep getting prompted for my password?
I think it has to do with an error ...
1
vote
2
answers
1k
views
OpenSSH SSH daemon: IPv4-socket missing on Ubuntu 24.04
I stumbled over the following issue, while debugging ssh connections.
I have a Ubuntu 24.04 with openssh-server installed.
The corresponding systemd-service is running (now named ssh.service & ssh....
0
votes
1
answer
4k
views
Debian 12 won't accept remote ssh connections
I'm trying to set up a Debian 12 server, and I can't get it to accept ssh connections from my Ubuntu 22.04 machine (or an older Ubuntu machine). It doesn't ask for a password; the ssh command just ...
3
votes
1
answer
219
views
Show non-truncated usernames of users connected to sshd server in terminal?
On my Ubuntu server, I find it very useful that netstat -tulpn also shows the username connected to sshd (apparently, this username printing is specifically for sshd) - unfortunately, this printout is ...
0
votes
1
answer
544
views
Unable to negotiate with <ip> no matching host key type found. Their offer: ssh-rsa,ssh-dss [preauth]
I have recently moved to a Debian VM for my FreePBX install. Before I was able to connect my code editor using Secure FTP, but since my move I'm not able to and I'm getting the following log:
<...
0
votes
2
answers
196
views
Why does connection work despite specifying for it a hmac-sha1-etm MAC that is not configured on server side?
I've seen other topics regarding similar issue and while configuration seems to work fine with specified MACs, SSH connection which uses an unspecified MAC still works while I would expect it to not.
...