sftp ls stalls with certain IP configurations

From: Jonathan Greenberg (greenberg@ucdavis.edu)
Date: 02/21/03


From: Jonathan Greenberg <greenberg@ucdavis.edu>
Date: Fri, 21 Feb 2003 01:20:35 GMT

Here's a really odd one:

I have MacOS X running ssh (whatever the latest one Apple has, probably the
most current or 2nd most current openssh):

I recently got kicked off of DirecTV DSL (static IP) to Earthlink (dynamic
IP). I set up a program to post my external IP to a website (works fine).
Here's where this gets weird:

sftp localhost (from my terminal, sitting in front of my computer)
Type password, type "ls" -- all is well with the world.

Sftp username@(earthlink assigned internal dynamic ip)
Type password, type "ls", all still works fine.

sftp username@(my dynamic ip as seen from the outside world) (from outside
Earthlink, usually from campus -- this external ip is NOT the same as the
internal earthlink assigned ip)
I get a prompt, but when I type "ls" and the system completely stalls until,
after maybe 10 minutes, I get:

Read from remote host [my dynamic IP]: Connection reset by peer
Connection closed

ssh username@(my external earthlink dynamic ip) --> everything works fine!
I can connect and do whatever (including "ls"), so its not that I'm not
connecting.

I assume ls has some weirdness with internal and external IP addresses (I
forgot to mention, I have a cheapo DSL router, that worked fine with
Directv). Any guesses why I'm getting this stall? The whole point of this
exercise is so I can get files from elsewhere off my sftp server, but
without ls its pretty hard!

--j

-- 
Jonathan Greenberg
Graduate Group in Ecology, U.C. Davis
http://www.cstars.ucdavis.edu/~jongreen
http://www.cstars.ucdavis.edu
AIM: jgrn307 or jgrn3007
MSN: jgrn307@msn.com or jgrn3007@msn.com
 


Relevant Pages

  • RE: sftp server
    ... Eric Wanamaker ... Subject: sftp server ... I thought that running ssh on the box with key ... Great stuff seeking new owners in Yahoo! ...
    (Security-Basics)
  • Re: [OT:] FTP clients
    ... I want to upload a zip, ... >> always worked at earthlink) and manually selecting binary mode. ... I have putty, but that would only maybe benefit me for FTP if I can ... Earthlink & SFTP? ...
    (sci.electronics.design)
  • sftp server
    ... transfers. ... I thought that running ssh on the box with key ... Is there a way in which I can limit them to sftp only? ... Great stuff seeking new owners in Yahoo! ...
    (Security-Basics)