The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
XIO: fatal IO error 232 (Connection reset by peer) on X server "192.168.1.239:0.0" grimanda HP-UX 3 01-31-2008 11:33 AM
Need error code: rcp - reset by peer jimcampanella Shell Programming and Scripting 1 06-13-2007 02:54 AM
Something like peer-to-peer !_30 UNIX for Advanced & Expert Users 0 11-19-2006 03:00 PM
connection reset by peer eyalush IP Networking 5 11-03-2005 09:45 AM
Peer to Peer TAT2ME74 UNIX for Dummies Questions & Answers 2 08-27-2002 08:45 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-04-2008
osxhawk osxhawk is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 2
ssh - connection reset by peer

I use ssh to work on the server (OS X 10.4.x) remotely from home (Debian / OS X 10.5.3). If I leave my machine idle, I get disconnected after a couple of minutes. I get the following error message:

Read from remote host "server name": Connection reset by peer
Connection to "server name" closed.

This is very irritating.

Any suggestions?
  #2 (permalink)  
Old 06-04-2008
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,206
I don't know what ssh client OS X has but with openssh you can use the following directives in ssh_config:

Code:
ServerAliveInterval
TCPKeepAlive
And TCPKeepAlive can also be used on the command line with "ssh -o TCPKeepAlive"

you my have it or something similiar.

Another option is to run a command that produces some periodic output like top for example.
  #3 (permalink)  
Old 06-05-2008
osxhawk osxhawk is offline
Registered User
  
 

Join Date: Jun 2008
Posts: 2
Thanks for the response. Modifying the "Keepalive" option solved the problem.
Sponsored Links
Closed Thread

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:32 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0