On Fri, 2003-07-18 at 13:29, Shaul Karl wrote: > On Fri, Jul 18, 2003 at 01:39:10AM +0300, Micha Feigin wrote: > > > > 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? > > > > > I am confused. Allow me to revisit the problem: > > Machine A <---> network cloud <---> home gateway <---> Machine B > > In addition to the above, B is masqueraded, right? > Now B can ssh A while A can not ssh B, right? You want that B will be > able to send files to A and that A will be able to send files to B, but > currently one of those 2 directions is not working. Which direction is > not working?
Currently both directions don't work. In addition the only way to connect to Machine A is using ssh, and sftp locks up so thats no option either. Its fire walled so writing my own simple ftp clone won't work (could maybe tunnel that over ssh). There is supposed to be a web interface for that, but couldn't get it to work. As for the earier talk about tunneling ftp, I tried to reverse the directions appearing in several HOWTOs saying to use: ssh -L 1234:localhost:21 remote and then ftp localhost 1234 ================================================================= 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]