ftp over ssh

John Nielsen lists at jnielsen.net
Wed Nov 8 19:17:07 UTC 2006


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 at ftpserver
ftpclient# ftp localhost
ftp> passive

JN


More information about the freebsd-questions mailing list