Reverse sshfs tunnel
Hey I want to setup a reverse sshfs tunnel. I have a home server which sits behind some type of NAT which makes it impossible for a remote computer to sshfs the home file system. On the local computer I run the following command to establish a reverse ssh tunnel:
ssh -R 14443:localhost:22 remoteUser@remoteComp
From the remote computer I can successfully ssh to the home server:
ssh localUser@localhost -p 14443
However I can not mount home file system:
sshfs -p 14443 localUser@localhost:/home/localUser RemoteFolder/
as I receive the following error:
fuse: failed to open /dev/fuse: Permission denied
Ofcourse the remoteUser
has been added to the group fuse
. Any help appreciated :)
Solution 1:
The problem was with the remote server I'm using. Fuse was not functioning on the Virtual Private Server(VPS), and the issue was resolved by the VPS admin. The admin had to 'enable fuse'.
This maybe an issue for VPS hosted with openvz.
Solution 2:
Could check on your remote system what the permission of /dev/fuse is? ls -l /dev/fuse. It means that your user/group is not able to write to /dev/fuse on your remote system.