Prevent sleep during ssh session
Chris Jones
jonesc at hep.phy.cam.ac.uk
Mon Aug 24 15:35:38 UTC 2009
> In my experience this doesn't always work, I used to connect from work
> to home and vice versa using ssh and the keep alive option din't keep
> those sessions connected. I ended up with a trivial program running in
> the background that sent NUL characters at five minute intervals.
>
> I think in my case it may have been some firewall/router timeout that
> was disconnecting the idle connections.
Worked ok for me, between OSX and a remote linux box.
But yes, I can see the hardware in between (routers, firewalls etc.)
could easily effect things.
Just give it a try and see (if it is the problem - The OP seems to have
gone quiet...).
cheers Chris
More information about the ubuntu-users
mailing list