tag:blogger.com,1999:blog-1369432396898204613.post3656196807799319809..comments2023-01-15T10:39:00.543+01:00Comments on Lighthouse in the Sky: ssh shenanigansUnknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-1369432396898204613.post-10919961427522136102011-10-20T23:38:44.081+02:002011-10-20T23:38:44.081+02:00That is clever. I particularly like the way it set...That <em>is</em> clever. I particularly like the way it sets up the tunnel on the fly. It should be possible to do something similar that reuses a tunnel by having the ProxyCommand set up a port forwarding and silently fail if it already exists.Anonymoushttps://www.blogger.com/profile/00764119699293212898noreply@blogger.comtag:blogger.com,1999:blog-1369432396898204613.post-90066248425307321682011-10-20T14:40:42.645+02:002011-10-20T14:40:42.645+02:00I've solved the A->B->C problem and avoi...I've solved the A->B->C problem and avoided exposing plaintext by using netcat:<br /><br />Host c.foo.com<br />ProxyCommand ssh b.foo.com nc -w 1 %h %p<br /><br />Host b.foo.com<br />ProxyCommand ssh a.foo.com nc -w 1 %h %pmvchttps://www.blogger.com/profile/14404841243741347001noreply@blogger.com