ssh command hang

Kevin Oberman rkoberman at gmail.com
Wed Jan 8 19:41:23 UTC 2020


On Tue, Jan 7, 2020 at 12:31 PM Bejiita78 . <tkhemili78 at gmail.com> wrote:

> has anyone ever noticed that locally a system may respond just fine, but
> running a command like port make install or top would cause the ssh session
> to hang indefinitely?


I have not experienced this, but some detail might help. Version of
FreeBSD, CPU (amd64, arm64, i386, etc.), base SSH or ports. If ports, build
config.
If you run "ssh -vvv" and "sshd -ddd", does that provide any clues? Have
you looked at interface stats on either end for errors and/or drops?
If it is reasonably repeatable, a BPF packet capture (probably just headers
as the payload will be encrypted) using tcpdump.

ssh is heavily used and this is the first report of this I have seen,
making it likely that this is a local issue such as a firewall or network
issue. I have had sessions up for days, often doing things like running top
or building large ports with no problems.

I do recall a time when my terminal emulator would occasionally freeze, but
I have not seen it for quite a while. I use mate-terminal. This was a
problem with the emulator, though, and also would lock up  local operation
as well as ssh sessions.
--
Kevin Oberman, Part time kid herder and retired Network Engineer
E-mail: rkoberman at gmail.com
PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683


More information about the freebsd-net mailing list