Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- ftp over ssh tunneling problems
July 8, 2003, 9:42 am
rate this thread
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 = 127.0.0.1.
STATUS:> Getting listing "/www"...
STATUS:> Connecting to ftp server localhost:4444 (ip = 127.0.0.1)...
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.
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
OpenSSH SFTP CLI.
- » Re: How to provide automatically both password and SSH keys to the ssh daemon when logging...
- — Previous thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum