On Thu, 17 Jul 2003, Micha Feigin wrote:If you want an interface consistant with FTP, use SFTP.
Use scp to copy files over a SSH connection, not tunneling FTP.I try to connect to a remote computer using ssh and then tunnel the ftp connection back to by computer using
ssh -R 1234:<local machine>:21 ...
I manage to open an ftp connection back to my computer and log in, but I can't seem to be able to do anything with it:
Alon
Read Alon's reply to see why this is necessary.
Alon does have one bit of information wrong, however. Even if you could set the port number in advance, it would still not work. In order for it to work you would also need to change the actual data passed inside the control connection. About six years ago, I was able to encrypt the control connection, while passing the data in the clear. I suspect, in retrospect, that the only reason I could do that was that the FTP servers of those days did not try to protect themselves against bounce attacks. It should be pretty much impossible with modern FTP servers.
Shachar
-- Shachar Shemesh Open Source integration consultant Home page & resume - http://www.shemesh.biz/
================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
