Re: FTP tunneling query

2009-10-08 Thread Rob Landley
On Wednesday 07 October 2009 11:29:48 Matt Johnston wrote:
 Hi,

 Dropbear doesn't know anything particular about FTP. I
 suspect that forwarding FTP through dropbear (or any other
 SSH server) won't work very well, given they dynamic
 port allocation. Perhaps OpenSSH client with socks
 forwarding might work?

Actually ftp has a passive mode that's often the default these days that 
uses the existing connection rather than dialing back the other way (which was 
an insane design to begin with and gives masquerading routers hives).  When it 
isn't typing passive generally enables it.

And there's an sftp program stock in ubuntu, which seems to go through ssh the 
way scp does but I dunno much more about it.  (I just use scp.)

Rob
-- 
Latency is more important than throughput. It's that simple. - Linus Torvalds




Re: FTP tunneling query

2009-10-07 Thread Matt Johnston
Hi,

Dropbear doesn't know anything particular about FTP. I
suspect that forwarding FTP through dropbear (or any other
SSH server) won't work very well, given they dynamic
port allocation. Perhaps OpenSSH client with socks
forwarding might work?

Cheers,
Matt

On Wed, Oct 07, 2009 at 06:05:08PM +0530, Sourav Chakraborty wrote:
 Hello List,
 
 Does the ssh client send explicit forward requests for the FTP tunneling 
 control as well as the data connections or does the SSH server snoop  the FTP 
 packets and forwards the data channels automatically? 
 
 Rgds
 Sourav