Hi!

I tunnel my ftp connections using TeraTerm SSH and LeechFTP as
ftp-client. It works when I use the remote IP which is reachable from
the Internet, but it doesn't work if I use 127.0.0.2 as remote adress
(see log below).

The outside world shouldn't see a ftp server, a connection to the ftp
should only be established through a ssh tunnel. How could I do this?

< 220 ProFTPD 1.2.0pre3 Server (Purzelbaum) [127.0.0.2]
> USER root
< 331 Password required for root.
> PASS *****
< 230 User root logged in.
> REST 1
< 350 Restarting at 1. Send STORE or RETRIEVE to initiate transfer.
> REST 0
< 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer.
> SYST
< 215 UNIX Type: L8
> PWD
< 257 "/root" is current directory.
~ Login completed.
> CWD /etc
< 250 CWD command successful.
> PWD
< 257 "/etc" is current directory.
> PASV
< 227 Entering Passive Mode (127,0,0,2,81,192)
> TYPE A
< 200 Type set to A.
> LIST
! Socket Error: no connection 
~ Could not retrieve directory listing for "/etc/"
~ Disconnected


Reply via email to