SSH port forwarding in Mac OS X is slightly different

Written by - 0 comments

Published on July 21st 2011 - Listed in Linux Shell

Who said SSH = SSH? Not all the syntaxes are the same on different operating systems, although the protocol is the same. A good example is the creation of port forwarding. 

On Linux:

ssh user@gwserver –L 3377:remoteserver:5900 

On Mac OS X:

ssh user@gwserver -L 3377/remoteserver/5900

Note the colons and dashes...

Add a comment

Show form to leave a comment

Comments (newest first)

No comments yet.