I must set up a ssh tunnel on a Mac OS X, to access to some servers.
So I did on the Mac OS :
- ssh -D 9999 user@host
- In the preference system, I had a proxy SOCKS (localhost:9999)
- In the /etc/hosts I had the ips for the servers
- the Mac Os can now access to the servers with it browser, for example.
But, with a terminal, it can't reach the servers. I Guess it's because the terminal do not use the "preference system".
So what does I have to do to get this tunnel working with the terminal ?