Your best friend for file transfer.Fetch
MacSSH tunnelling with Fetch for OS X (3 posts)
- Started 10 years ago by Harrison
- Latest reply 10 years ago from Harrison
I have been doing secure FTP transfers by setting up a SSH2 tunnel using MacSSH and then having Fetch 3.0.3 connect using Host IP 127.0.0.1. I just upgraded to OS 10.2.6 and the Fetch 3.0.3/MacSSH tunnel still works perfectly in the Classic environment.
I would like to use Fetch 4.0.3 in OS X. However, when I set up the MacSSH tunnel in Classic (MacSSH only runs in Classic) and then try to open a connection to 127.0.0.1 using Fetch 4.0.3 in OS X the connection just hangs. Apparently the OS X environment doesn't recognize the localhost IP 127.0.0.1 in Classic.
Is there an alternative way to make a connection to the MacSSH tunnel from Fetch 4.0.3 in OS X?
Jim Matthews Administrator
You might try connecting to "localhost" rather than 127.0.0.1.
Another option is to use the Terminal program in OS X and command-line ssh rather than MacSSH. To set up an SSH tunnel from port 2001 on your Mac to port 21 (the FTP port) on a server you would type:
ssh -L2001:server:21 user@server
Where "server" is the hostname of the server, and "user" is the name of your account on the server.
Once you are logged in with SSH you can tell Fetch to connect to port 2001 on localhost and the connection will be forwarded to the server.
Using localhost instead of 127.0.0.1 has the same problem, but your second option works just fine. Thanks!
- Page 1
This topic has been closed.