Skip to content

Comment on Transparent Multi-Hop SSH

Comments

Non listed stuff (its funny that the ssh "supertrick" comes up every week on HN, i guess i should copy past this post):

* the other advantage is "not forwarding the agent" which is more secure

* using control socket can be annoying because of the way it closes / is opened in certain conditions

* ssh -W saves a nc command

* the % hack does not work in all conditions, only for simple constructs

It would be nice to have this stuff just work native in SSH to avoid all the issues, and more reliable control socket release.

i've been using a script adding the entries to .ssh/config for many years and enable control socket manually when i know i want it, but all this is quite cumbersome, even if its still better and less annoying than ssh -A.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.