Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Sep 1999 11:20:03 +0200
From:      "smoerk@gmx.de" <smoerk@gmx.de>
To:        "FreeBSD-ISP List" <FreeBSD-ISP@FreeBSD.ORG>
Subject:   tunneling ftp from local 127.0.0.1 to remote 127.0.0.1 (SSH 1.5.27)
Message-ID:  <19990924091930.AEA4814F59@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
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







To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990924091930.AEA4814F59>