[ale] How do I reset user timeout in ubuntu?

Claypool, Joe JClaypool at tandbergtv.com
Tue Feb 13 18:12:55 EST 2007


You could try a little one-liner like the below to keep your session alive.  It echos a message across the screen every 60 seconds until you break out of it.

$ while true; do echo "Don't kill my session please."; sleep 60; done


-----Original Message-----
From: ale-bounces at ale.org on behalf of timothy at meanor.net
To: ale at ale.org
Sent: Tue 2/13/2007 4:41 PM
To: ale at ale.org
Subject: Re: [ale] How do I reset user timeout in ubuntu?
 
Is there a firewall between you and the remote system?  Firewalls are often configured to kill sessions that have been idle for a certain amount of time.

-Tim

>>If I log into a remote ubuntu system via ssh, and leave the session idle 
>>for a while, I get disconnected.  The disconnect first becomes a dead 
>>session.  Meaning I can not type anything into the session.  Keys don't 
>>work and output obviously doesn't come back.  After a much longer period 
>>of time, I get a "disconnect by remote" message.  timeoutd is not 
>>running on the system.  I looked in sshd_conf for something relevant, 
>>but no luck.  This only happens on this system and there are no messages 
>>in syslog/message/auth. 
>>
>>Can anyone suggest where the timeout is occurring?
>>
>>Thanks,
>>Jim.
>>_______________________________________________
>>Ale mailing list
>>Ale at ale.org
>>http://www.ale.org/mailman/listinfo/ale
_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale




More information about the Ale mailing list