Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Nov 2006 14:12:18 -0500
From:      John Nielsen <lists@jnielsen.net>
To:        freebsd-questions@freebsd.org
Cc:        Gorobets Igor <igoryan@wheel.kiev.ua>
Subject:   Re: ftp over ssh
Message-ID:  <200611081412.18966.lists@jnielsen.net>
In-Reply-To: <20061108094550.GA26361@mail.it-geeks.kiev.ua>
References:  <20061108094550.GA26361@mail.it-geeks.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 08 November 2006 04:45, Gorobets Igor wrote:
> Hello. How correctly to adjust this miracle? :-)

Assuming you have a server that is running sshd (on all interfaces) and ftpd 
(only on the loopback interface):

ftpclient# ssh -fnN -l 20:localhost:20 -L 21:localhost:21 user@ftpserver
ftpclient# ftp localhost
ftp> passive

JN



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