On Thu, 2003-07-17 at 10:08, Shachar Shemesh wrote:
> Alon Altman wrote:
> 
> >On Thu, 17 Jul 2003, Micha Feigin wrote:
> >
> >  
> >
> >>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:
> >>
> >>    
> >>
> >Use scp to copy files over a SSH connection, not tunneling FTP.
> >
> >  Alon
> >
> >  
> >
> If you want an interface consistant with FTP, use SFTP.
> 
> 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

I am aware of sftp, only for the specific computer I am trying to
connect to, when I try to connect over sftp the connection locks up.
I can't connect directly back to my computer since I am conection
through the isp NAT and an extra home NAT which resalts with my computer
having to reachable address as far as the remote is concered. The remote
computer only allows conections over ssh, so I am looking for a way to
tunnel some kind of file send protocol (ie ftp, tftp) over ssh in the
reverse direction, where I can run any server I want. I need to transfer
files in both directions, and I guess I can write a program to do this,
but I'd rather not rewrite ftp.
can tftp both send and recieve files and will it run over the reveresed
ssh connection, or any other ideas on how to achive what I am trying to
do?

thanx


=================================================================
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]

Reply via email to