keep wireless awake
Smoot Carl-Mitchell
smoot at tic.com
Tue Sep 23 23:26:20 UTC 2008
On Tue, 2008-09-23 at 16:04 -0700, 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.
Not sure I understand. Are you trying to kill the sshd process on the
server? If so, you can send the underlying forked shell a HUP signal.
e.g.
kill -HUP <pid>
--
Smoot Carl-Mitchell
System/Network Architect
smoot at tic.com
+1 480 922 7313
cell: +1 602 421 9005
More information about the ubuntu-users
mailing list