Digital Marketing

Reuse an ssh connection

In .ssh/config file:

host *
  ControlMaster auto
  ControlPath ~/.ssh/ssh_mux_%h_%p_%r
ssh figures out if a shareable connection already exists for the host/port/username combination and uses that if possible.

Comments

Popular posts from this blog

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command

How to fix: mv: failed to preserve ownership