ftp over ssh tunneling problems

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I use putty to tunnel ftp over ssh to a remote server. while
http-tunneling works fine, ftp makes following problems:

STATUS:>      Resolving host name localhost.
STATUS:>      Host name localhost resolved: ip =
STATUS:>      Getting listing "/www"...
STATUS:>      Connecting to ftp server localhost:4444 (ip =
STATUS:>      Socket connected. Waiting for welcome message...
        220 Spot ist online und bereit für neuen Wahnsinn...
COMMAND:>    USER username
        331 Password required for intranet.
COMMAND:>    PASS password
        230 Anonymous access granted, restrictions apply.
STATUS:>      Login successful.
        257 "/" is current directory.
STATUS:>      Home directory: /
COMMAND:>    CWD /www
        250 CWD command successful.
        257 "/www" is current directory.
        227 Entering Passive Mode (xx,xx,xxx,xxx,xxx,xxx).
STATUS:>      Connecting ftp data socket xxx.xxx.xxx.xxx:3969...
ERROR:>       Can't connect to remote server. Socket error = #10060.
ERROR:>       Failed to establish data socket.

I allready tried several ftp-clients (all in passive mode) and ports.
please help

thx alex
Direct access to this group with http://web2news.com

Re: ftp over ssh tunneling problems


You will probably find that few FTP servers honour the PASV :port
command because of security implications.  If you are admin of the FTP
server you may be able to find a configuration that allows this to
happen.  Your best bet is to use SFTP as this works seemlessly over the
SSH tunnel.  A good SFTP client for windows is WinSCP, or just use the


alex_777 wrote:
Quoted text here. Click to load it

Site Timeline