Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Technical

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 8th September 2011, 00:46
bschultz bschultz is offline
Senior Member
Join Date: Jul 2006
Posts: 224
Thanks: 11
Thanked 11 Times in 11 Posts
Default Need help with SSH tunnel

I need to access a computer (Mac) at work over VNC, through another Mac at my house. I can connect with a PC using an SSH tunnel in Putty, but I can't figure out how to use a tunnel in Terminal (the Mac command line).

Here's what I've tried from the Mac terminal at home:

ssh -L 5905: username@workdomain.com

Where...5905 is the local port is the IP address and port of the computer I'm trying to connect to with VNC

And username@workdomain.com is the address of the SSH server in the office I'm trying to tunnel through.

This didn't work. Can someone please give me a nudge in the right direction to make this work?

Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Reverse ssh tunnel connection problem jayoungh Server Operation 0 24th November 2010 23:08
ssh tunnel v2k Server Operation 1 30th December 2008 13:04
VNC over SSH tunnel optimization blocker Server Operation 1 16th October 2008 21:45
SSH tunnel hep warkry Server Operation 2 21st April 2008 18:13
SSH port forwarding (SQLYog Tunnel) mastorna Server Operation 0 22nd June 2006 02:16

All times are GMT +2. The time now is 01:44.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.