Skip to content

Comment on SSH port knocking scriptparent

Comments

if you put something like

  host *
       ControlMaster auto
       ControlPath ~/.ssh/master-%r@%h:%p
in your .ssh/config, any additional ssh sessions to a host reuse the original connection, so a new link doesn't have to be renegotiated.
AboutSource Built by g1lg1l

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