ssh server hangs the port even if client machine shuts down
Peter Stuge
peter at stuge.se
Thu Jul 1 21:26:21 EST 2010
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
More information about the openssh-unix-dev
mailing list