Comparing SSH port forwarding Linux vs. Mac OS X

Written by - 0 comments

Published on - last updated on September 23rd 2020 - Listed in Linux Shell Macintosh


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@jumphost –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.