keep wireless awake

Nils Kassube kassube at gmx.net
Wed Sep 24 05:49:26 UTC 2008


John Hubbard wrote:
> Smoot Carl-Mitchell wrote:
> > The default SSH daemon behavior is to turn on TCPKeepAlive
> > (see /etc/ssh/sshd_config.  With this option on, SSH connections will
> > drop if the remote client is down or unreachable.  I suspect you have
> > this option set to "No" in which case the SSH sessions will stay
> > around forever, unless explicitly closed by one end of the
> > connection.
>
> Sorry to hijack the thread but this is related. Is there an easy way to
> close one of these connections that is forever open from the client
> end? Normally I have to kill the task. ctrl+c doesn't do the trick.

Probably you mean something like typing "~." (without quotes) on a new 
line. Have a look at the chapter "ESCAPE CHARACTERS" of the ssh man page.


Nils




More information about the ubuntu-users mailing list