ssh server hangs the port even if client machine shuts down
Adriana Rodean
adrya1984 at gmail.com
Fri Jul 2 16:05:23 EST 2010
Thank you so much :)
Fixed the problem with:
ClientAliveInterval 5
ClientAliveCountMax 2
:)
On Thu, Jul 1, 2010 at 14:26, Peter Stuge <peter at stuge.se> wrote:
> Adriana Rodean wrote:
>> Why the port still listens on the server even if no client is
>> connected to it? (client pc is closed)
>
> Because TCP by design does not know if the other side of the
> connection has disappeared when there is no traffic, and SSH
> does not mandate probing for it.
>
> In short, the sshd on the server still believes that the client is
> connected.
>
>
>> How can we solve this problem?
>
> Please read the sshd_config manual page, in particular the
> ClientAliveCountMax and ClientAliveInterval options.
>
>
> //Peter
> _______________________________________________
> openssh-unix-dev mailing list
> openssh-unix-dev at mindrot.org
> https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev
>
More information about the openssh-unix-dev
mailing list