ssh -M -S <my-socket-name> -fNT -L localhost:33067:localhost:3306 <user>@<hostname>
-f
Run in the background before command execution.-N
Don’t execute any commands-T
Disable pseudo-tty allocation. I don’t know what this means.-S
socketname Use a control socket with name socketname-M
Put control socket in master mode-O
check, exit, stop Control command