Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5234

General discussion • SSH hangs continuosly

$
0
0
Hi,
I have several PI4s running on Raspbian Bullseye.
When connecting via ssh, connection hangs every few seconds becoming unresponsive for up to 1 minute, making ssh management impossible.
This happens on all my raspberries and while connecting from different machines, running ubuntu or windows.

I tried to google, but the solutions proposed do not work for me.
Even adding to /etc/ssh/sshd_config the following:
Protocol 2, 1
KexAlgorithms ecdh-sha2-nistp521

Which seems to be working for other users.

This copy of the log:
Mar 12 17:28:45 server.domain.com systemd[1]: Starting ssh.service - OpenBSD Secure Shell server...
Mar 12 17:28:45 server.domain.com sshd[695]: Server listening on 0.0.0.0 port 22.
Mar 12 17:28:45 server.domain.com systemd[1]: Started ssh.service - OpenBSD Secure Shell server.
Mar 12 17:41:04 server.domain.com sshd[785]: Accepted password for user from 192.168.xxx.xxx port xxx ssh2
Mar 12 17:41:04 server.domain.com sshd[785]: pam_unix(sshd:session): session opened for user user(uid=1000) by (uid=0)
Mar 12 17:41:04 server.domain.com sshd[785]: pam_env(sshd:session): deprecated reading of user environment enabled

Can anybody help please?

Statistics: Posted by massimo_512 — Tue Mar 12, 2024 5:24 pm — Replies 0 — Views 24



Viewing all articles
Browse latest Browse all 5234

Trending Articles