I start an SSH session with a shared control socket as follows:
ssh -M -S ssh_socket -fnNTC ssh://user@host:9022
I have no problem executing commands using this socket; for example:
ssh -S ssh_socket ssh://user@host:9022 -t htop
But I want to mount a file system over the same shared socket, and cannot figure out the syntax. This mounts the file system, but not using the shared socket, so it asks for a password again:
sshfs -p 9022 user@host:/path /path
Can anyone help me figure out if what I want is even possible?