Today I wanted to connect to office internal server to particular port. But the server and port are not available on public. So I had to connect to gateway server by ssh and tunnel through it to connect to internal server.

SSH tunneling in mac

In windows it was easy to do using putty. Since there was no putty on mac I was lost a bit. Then this article helped me 😉

The above article explains it all so no point writing the info here 😛