Digital Marketing

Configure OpenSSH runs multiple SSH sessions over a single connection

If you are on macOS and Linux, enable the ControlMaster feature on your local machine so that OpenSSH runs multiple SSH sessions over a single connection. This will reduce how often you have to enter a password or token.

To enable ControlMaster:

Add an entry like this to your SSH config file:

Host *
    ControlMaster auto
    ControlPath  ~/.ssh/%r@%h-%p
    ControlPersist  600

Comments

Popular posts from this blog

Fixed WSL sshd: no hostkeys available -- exiting

PowerMTA pmta command

How to fix: mv: failed to preserve ownership