I often ssh from Windows to the same Linux server and setup SSH tunnels using this server. The authentication is password-based and this is something that is set up by the company policy, so I cannot change that. Providing same password multiple times is a nightmare.
I've read about handling that by keeping SSH connections alive. The recipe was for Linux-to-Linux connection and required updating ~/.ssh/config file
Host *
ControlPath ~/.ssh/%C.sock
ControlMaster auto
ControlPersist 10m
On Windows I can define similar file for OpenSSH. However, when I set it up, I started to get
getsockname failed: Not a socket
I've read ControlPath is not supported on Windows. How can I keep SSH connections alive on Windows?