ssh-to-rawhide hangs (uninterruptible) for 2 minutes, then fails

Jim Meyering jim at
Sat Sep 10 19:28:34 UTC 2011

I cannot ssh to my rawhide VM today:

    $ date; ssh r; date
    Sat 2011-09-10 19:55:35 +0200
    Write failed: Broken pipe
    Sat 2011-09-10 19:57:35 +0200

Note the two-minute delay.
I was unable to interrupt it, nor suspend.  Very annoying.

Using the console, I see nothing in /var/log/messages
or /var/log/audit/*.

The above was using an agent.
The same thing happens without, but only after authentication.

If I repeat the above with -v, it always hangs right after
"Entering interactive session.":

    debug3: sign_and_send_pubkey: ---
    debug1: Enabling compression at level 6.
    debug1: Authentication succeeded (publickey).
    Authenticated to r ([]:22).
    debug1: setting up multiplex master socket
    debug2: fd 4 setting O_NONBLOCK
    debug3: fd 4 is O_NONBLOCK
    debug3: fd 4 is O_NONBLOCK
    debug1: channel 0: new [/h/j/.ssh/sockets/22-r]
    debug3: muxserver_listen: mux listener channel 0 fd 4
    debug1: channel 1: new [client-session]
    debug3: ssh_session2_open: channel_new: 1
    debug2: channel 1: send open
    debug1: Entering interactive session.

Just in case, I turned off compression via the client and retried.
Same result, but without the "Enabling compression..." line.

Next step was to turn off SELinux enforcing, just in case.
That didn't make a difference.

Then I turned on debugging with LogLevel DEBUG3, restarted sshd and
repeated the experiment.  Nothing obviously suspicious there, at least
not to my untrained eye.

This is with openssh-5.9p1-2.fc17.x86_64 (same for -server).

Filed as

Is anyone else seeing this?

More information about the devel mailing list