Mike Joseph on 29 Sep 2013 12:02:39 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] SSH Tunnel |
I need to create a ssh tunnel through an intermediate server (10.10.10.25)
to a vm on that server (192.168.4.4)
So.... I put this in my .ssh/config file:
Host oldsys
Hostname 10.10.10.25
user eric
ServerAliveInterval 300
LocalForward 20000 192.168.4.4:22
I've set up the authorized_keys so the login at each stage should be automatic.
= From the current machine I can ssh to 10.10.10.25
= From 10.10.10.25 I can ssh to 192.168.4.4
But: the tunnel appears to not work.
When I 'ssh oldsys' from my original server I end up logged in to the 10.10.10.25 server.
It's like I never told it to do a forward :-(
What am I missing here?
Eric
--
# Eric Lucas
#
# "Oh, I have slipped the surly bond of earth
# And danced the skies on laughter-silvered wings...
# -- John Gillespie Magee Jr
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug