| Summary: | sshd hangs when using AuthorizedKeysCommand | ||
|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Felicity Tarnell <felicity> |
| Component: | sshd | Assignee: | Assigned to nobody <unassigned-bugs> |
| Status: | CLOSED WORKSFORME | ||
| Severity: | normal | CC: | djm, jjelen |
| Priority: | P5 | ||
| Version: | 7.1p1 | ||
| Hardware: | amd64 | ||
| OS: | FreeBSD | ||
|
Description
Felicity Tarnell
2015-11-17 22:09:27 AEDT
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. closing: >6 months with no followup Close all resolved bugs after 7.3p1 release This upstream commit fixes the problem according to discussion on IRC: https://github.com/openssh/openssh-portable/commit/ddd3d34e5c7979ca6f4a3a98a7d219a4ed3d98c2 |