It looks like you forgot to set ControlPersist
. If not set, then the master connection will not remain open if that first session is closed.
For example you can set in your $HOME/.ssh/config
:
ControlPersist 600
It looks like you forgot to set ControlPersist
. If not set, then the master connection will not remain open if that first session is closed.
For example you can set in your $HOME/.ssh/config
:
ControlPersist 600