BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old July 15th, 2004, 03:03 AM
namotco namotco is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Madison
Posts: 374 namotco User rank is Sergeant Major (2000 - 5000 Reputation Level)namotco User rank is Sergeant Major (2000 - 5000 Reputation Level)namotco User rank is Sergeant Major (2000 - 5000 Reputation Level)namotco User rank is Sergeant Major (2000 - 5000 Reputation Level)namotco User rank is Sergeant Major (2000 - 5000 Reputation Level)namotco User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Day 18 h 8 m 52 sec
Reputation Power: 30
Send a message via AIM to namotco
SSH timeouts

my ssh sessions timeout awfully fast which is annoying. How can I change this?

Code:
Read from remote host X.X.X.X: Connection reset by peer
Connection to X.X.X.X closed.

Reply With Quote
  #2  
Old July 15th, 2004, 04:42 AM
stevengs stevengs is offline
Permanently Banned
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Location: Germany
Posts: 394 stevengs User rank is Lance Corporal (50 - 100 Reputation Level)stevengs User rank is Lance Corporal (50 - 100 Reputation Level)stevengs User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 3 Days 4 h 36 m 24 sec
Warnings Level: 10
Number of bans: 1
Reputation Power: 0
you can edit the sshd_config, which is usually in /etc/ssh/. It is well commented, and the timeout parameter is easy to find. If you cannot find it, check the manpage:

man sshd_config
man sshd

-Steven

Reply With Quote
  #3  
Old August 5th, 2004, 05:00 PM
namotco namotco is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Location: Madison
Posts: 374 namotco User rank is Sergeant Major (2000 - 5000 Reputation Level)namotco User rank is Sergeant Major (2000 - 5000 Reputation Level)namotco User rank is Sergeant Major (2000 - 5000 Reputation Level)namotco User rank is Sergeant Major (2000 - 5000 Reputation Level)namotco User rank is Sergeant Major (2000 - 5000 Reputation Level)namotco User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 1 Day 18 h 8 m 52 sec
Reputation Power: 30
Send a message via AIM to namotco
I tried that, but I'm still having the same problem.

Reply With Quote
  #4  
Old August 6th, 2004, 12:57 AM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is online now
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,442 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 h 18 m 43 sec
Reputation Power: 797
You did restart sshd after editing sshd_config, didn't you?
__________________
Up the Irons
What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home.
"Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest
Down with Sharon Osbourne

Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month

Reply With Quote
  #5  
Old September 16th, 2004, 09:46 AM
sufehmi sufehmi is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 6 sufehmi User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 29 m 17 sec
Reputation Power: 0
Quote:
Originally Posted by namotco
my ssh sessions timeout awfully fast which is annoying. How can I change this?


I avoid this by running spinner. It continuously print a single character on your terminal, so it never times out.

I run spinner with -n parameter, so it's printing null character, which is invisible on screen

To install spinner, just read this notes:
http://www.harrysufehmi.com/phpwiki...ed#getsometools



regards,
Harry

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > SSH timeouts


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway