Sunday, February 17, 2008

Config Idle Timeout for openSSH Fedora

With some ssh servers, you can config the time out in /etc/ssh/sshd_config like

IdleTimeOut=10m

However, the openssh shipped with Fedora doesn't support this option.
Two workarounds are:
  • Apply openssh watchdog patch
http://www.sc.isc.tohoku.ac.jp/~hgot/sources/openssh-watchdog.html
  • use TMOUT for shell
In /etc/profile
#set the idle timeout for ssh to 10minutes
TMOUT=600

readonly TMOUT

export TMOUT


Notice here, need to set the TMOUT to readonly, otherwise users can override it.

6 comments:

Anonymous said...

negative effects of viagra homemade viagra women's viagra viagra suppliers in the uk viagra uk cheap purchase buy mexican viagra buy viagra on line viagra reviews viagra equivalent viagra reviews does watermelon have viagra effect viagra sample viagra for sale without a prescription viagra lawyer ohio

Anonymous said...

I inclination not concur on it. I think warm-hearted post. Specially the designation attracted me to read the sound story.

Anonymous said...

Genial post and this enter helped me alot in my college assignement. Thanks you seeking your information.

Anonymous said...

[B]NZBsRus.com[/B]
Dont Bother With Idle Downloads With NZB Files You Can Hastily Search High Quality Movies, PC Games, MP3s, Software & Download Them at Fast Rates

[URL=http://www.nzbsrus.com][B]Usenet[/B][/URL]

Anonymous said...

chunk in brittle this without shelter or sine qua non [url=http://www.casinoapart.com]casino[/url] hand-out at the prime [url=http://www.casinoapart.com]online casino[/url] engage with 10's of spiffy [url=http://www.casinoapart.com]online casinos[/url]. be occupied in [url=http://www.casinoapart.com/articles/play-roulette.html]roulette[/url], [url=http://www.casinoapart.com/articles/play-slots.html]slots[/url] and [url=http://www.casinoapart.com/articles/play-baccarat.html]baccarat[/url] at this [url=http://www.casinoapart.com/articles/no-deposit-casinos.html]no plunk casino[/url] , www.casinoapart.com
the finest [url=http://de.casinoapart.com]casino[/url] to UK, german and all to the world. so in stomach of the cork [url=http://es.casinoapart.com]casino en linea[/url] discontinuity us now.

Anonymous said...

Amiable dispatch and this fill someone in on helped me alot in my college assignement. Say thank you you as your information.