SSH port forward and ftp

Filip Radlinski fradlinski at
Sun Feb 17 04:39:50 EST 2002

I assume you're trying to get FTP to be secure? I suggest you try safetp
instead of using port forwarding - free clients and servers exist for
Linux and Windows and it works without any hassles.


> Message: 4
> From: Rasjid Wilcox <rasjidw at>
> To: CLUG <linux at>
> Subject: SSH port forward and ftp
> Date: Sat, 16 Feb 2002 22:54:12 +1100
> I have spent quite a while trying to work out how to get ftp working with ssh 
> port forwarding, and I'm not having much joy.
> The setup is:
> A-Remote machine
> B-Firewall fowards port 22 to
> C-Linux E-Smith box running sshd and proftp.
> I'm using putty for port forward port 21 on the remote mahcine to the server, 
> but then there is the issue of the data port.
> Some sites have sample cofigurations fowarding port 20 as well, but that does 
> not seem to help.  I have turned on 'AllowForeignAddresses' in the 
> proftp.conf file.
> I get the initial ftp connection okay, but as soon as data is request (by the 
> LIST command etc) it all times out.
> Any ideas / good sources of information?  One site suggested MindTerm as a 
> ssh client that does its own ftp proxing.  I have not tested it yet.  I would 
> rather stick to using putty and a standard ftp client if possible.
> Thanks,
> Rasjid.

More information about the linux mailing list