OpenSSH - Connection problem when LoginGraceTime exceeds time

Darren Tucker dtucker at
Wed Jan 28 15:20:09 EST 2004

Kumaresh wrote:
> This problem is regarding the configuration directive called
> 'LoginGraceTime'.
> Source code of OpenSSH shows that SSH uses alarm/SIGALRM to implement the
> LoginGraceTime. When using priviledged separation, the priviledged process
> receives the alarm signal and exits when the time expires. However, the
> non-priveledged sshd process remains connected until the client sends some
> data or the client disconnects.  Without priviledged separation, the sshd
> process receives the alarm signal and exits. No other processes remain.
> Any help to fix this problem?

Please try this patch.

Darren Tucker (dtucker at
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
     Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: openssh-logingrace.patch

More information about the openssh-unix-dev mailing list