[Bug 2496] sshd hangs when using AuthorizedKeysCommand

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Wed Nov 18 07:56:39 AEDT 2015


https://bugzilla.mindrot.org/show_bug.cgi?id=2496

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
sshd waits for the AuthorizedKeysCommand to finish - if it doesn't
finish, sshd will hang. So the question is: why is the command failing
to exit?

The only differences between 6.8p1 and 7.1p1 that I think could be
relevant is that 7.1p1 sets up a minimal environment ($PATH, $USER,
$LOGNAME, $HOME, $LANG) whereas 6.8p1 inherited a full environment from
sshd.

I'm not sure why this could cause your command to misbehave though. I
suggest getting a strace/ktrace of the command as it hangs - it might
yield some clues.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list