To fuse-mount a remote machine, I have to first open a tunnel:
ssh -f -N -L localport:M2:remoteport user@M1
Then, in Vifm, I press Enter on the fusemount.ssh
file with contents
-p localport user@localhost:
and, brilliant, it works (I have followed the FUSE mounts section in the manual).
Is there any way to accomplish it all in a single step, i.e., to embed the opening of the tunnel in the .ssh
file in some way? Thanks for any help.