sftp ls weirdness

From: Jonathan Greenberg (greenberg@ucdavis.edu)
Date: 01/27/03


From: Jonathan Greenberg <greenberg@ucdavis.edu>
Date: Mon, 27 Jan 2003 20:39:20 GMT

Hi there, I'm getting a weird sftp problem when using the "ls" command that
only happens under certain network situations:

I'm on Earthlink DSL with a dynamic IP. On top of that, if I check my
computer-assigned IP it differs from that seen by the outside world. Now,
when I sftp to my server from outside (so I use that outside IP), I can
connect (as can ssh), but it stalls when I use "ls".

Here's where it gets interesting: my server is also behind a cheapo dsl
router, and I have two machines on that router. If I sftp to the internal
Earthlink assigned IP from another machine on my router to my server (so I
use Earthlink's internal IP), I can ls as usual. Finally, if I use the sftp
server and just "sftp localhost", ls also works.

Since the whole point of my sftp server is the ability to use it from an
outside IP, what do I need to do to fix this? I've heard mention of the ls
problem, but no good solutions yet...

Ideas?

--j



Relevant Pages

  • Re: SPAM sudden increase
    ... > Dude was on a tech call with f-secure and the tech asked, "So, ... dude is trying to FTP to their server using WSFTP. ... but I think he is talking about sftp protocol - FTP via ...
    (alt.2600)
  • using java with sftp
    ... JCraft JSch package to SFTP files. ... //First Create a JSch session ... System.err.println("Unable to connect to FTP server. ...
    (comp.lang.java.programmer)
  • Re: using java with sftp
    ... JCraft JSch package to SFTP files. ... //First Create a JSch session ... System.err.println("Unable to connect to FTP server. ...
    (comp.lang.java.programmer)
  • Re: sftp password authentication question
    ... > I have a W2k server machine (equippend with SSH Secure Shell) which ... > NetworkSimplicity SSH server). ... > can be apparently easily accomplished with normal FTP. ... > this to work with SFTP or SFTP2 ??? ...
    (comp.security.ssh)
  • RE: sftp between UNIX box and NT Server using SFTP Root.
    ... sftp between UNIX box and NT Server using SFTP Root. ... Legg Mason therefore recommends that you do not send confidential information to us via electronic mail, including social security numbers, account numbers, and personal identification numbers. ...
    (SSH)