Eric at Lucii.org on 30 Sep 2013 07:48:22 -0700 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] SSH Tunnel |
Oh I do like SSH! I got the tunnels to work but I'm still not sure exactly *how* they work. The details escape me. I suppose it will help to have pictures :-) Thanks Eric On 09/30/2013 10:11 AM, Gavin W. Burris wrote: > I heard you like SSH, so I put some SSH in your SSH. Cheers. > > Host oldsys > user eric > Hostname 192.168.4.4 > ProxyCommand ssh -W %h:%p intermediate > Host intermediate > user eric > Hostname 10.10.10.25 > > > On Sun, Sep 29, 2013 at 02:50:06PM -0400, Eric at Lucii.org wrote: >> 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 > -- # 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