image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
Thread Tools
  #1  
Old May 13th, 2008, 10:12 PM
arri's Avatar
Registered User
 
Join Date: Mar 2003
Posts: 262
Thanks: 0
Thanked 0 Times in 0 Posts
arri is on a distinguished road
ssh/connection reset by peer (not timeout issue)

hi,

i'm sorry if missed similair posts, but all i found so far were issues related to timeouts or bad routers.
also, i realise it's not completely mac-related, although the clients i'm using are all macs (leopard, tiger)

my problem is that although nothing changed in my network setup, i'm lately suffering from dropping ssh-connections which are randomly being reset by the server(?).

it's got nothing to do with time-outs either on client or server side. it's all configured to never timeout, and it sometimes happens that several connections drop all at once, while i'm actually transfering files (scp) and monitoring remote log-files etc..

the only significant changes are my isp merged with another (bigger) company, and the bill now shows another name, and i suddenly have a new ip-address.
the first seems like the only logical explaination for these problems.i already mailed them about this, but they state nothing has changed on the technical side.

as for the ip-address, i don't see why that would cause this kind of probelms.
to make sure, i generated new keys, cleaned-out known_hosts etc.. to no avail.

anyone some ideas what it might be?

thanks
arri
Reply With Quote
  #2  
Old May 14th, 2008, 09:27 AM
Satcomer's Avatar
In Geostationary Orbit
 
Join Date: Jul 2002
Location: Northern Virginia
Posts: 4,904
Thanks: 0
Thanked 2 Times in 2 Posts
Satcomer is a jewel in the roughSatcomer is a jewel in the roughSatcomer is a jewel in the rough
Is your ISP packet shaping Bit Torrent users? I ask because the Windows only program that does this is flawed and blocks ssh ports also when it detects those packets.
__________________
PowerMac G5 Dual 1.8(Rev A.), , 7 Gig RAM, Pioneer DVR-110, ATI X800XT, OS X 10.4.11 & 10.5.3, 23'' HD LCD
Mac Book Pro Core 2 Duo 2.16Mhz, SuperDrive, ATI X1600, 2GB RAM, OS X 10.5.3
Tibook 400Mhz, DVD drive, 1024 RAM, ATI Rage, OS X 10.4.7
1TB Time Capsule
5g iPod 30Gig White
Reply With Quote
  #3  
Old May 14th, 2008, 04:50 PM
macbri's Avatar
Mac (r)evolution
 
Join Date: Jun 2005
Location: Ireland
Posts: 241
Thanks: 0
Thanked 0 Times in 0 Posts
macbri is on a distinguished road
You might try enabling debugging in both the server and client:

On the server, run sshd on a different port:

Code:
sudo /usr/sbin/sshd -dddp 2022 2>&1 |tee /tmp/sshd.log
Then on your client connect with

Code:
ssh -vvvp 2022 server 2>&1 |tee /tmp/ssh.log
-or-

Code:
scp -vvvp 2022 server:/file /tmp/file 2>&1 |tee /tmp/scp.log
Might give some clues, even if just a debug string which happens when the connection is shut down, which might turn up something else on a web search....
__________________
Cyber Feen Blog
Reply With Quote
  #4  
Old May 15th, 2008, 12:31 AM
arri's Avatar
Registered User
 
Join Date: Mar 2003
Posts: 262
Thanks: 0
Thanked 0 Times in 0 Posts
arri is on a distinguished road
satcomer, i never noticed any block whatsoever, i'd actually be surprised(..)

macbri, thanks for the suggestion. you're right..
i was just still denying, and blaming the isp
Reply With Quote
  #5  
Old June 2nd, 2008, 09:16 PM
arri's Avatar
Registered User
 
Join Date: Mar 2003
Posts: 262
Thanks: 0
Thanked 0 Times in 0 Posts
arri is on a distinguished road
SOLVED (magically)

to round-up:

the timeout-issue magically dissapeared before i got a chance to test with debugging/verbose flags on ssh/sshd.

i like to believe my isp actually took appropriate action after they received my complaint
(prob. not)
Reply With Quote
Reply

Thread Tools

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -5. The time now is 02:15 PM.


Mac Support® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0
Copyright 2000-2008 DigitalCrowd, Inc.