Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot run sshfs under root / inside ssh session to localhost #6

Open
cielavenir opened this issue Apr 2, 2021 · 1 comment
Open

Comments

@cielavenir
Copy link

Error message:

USER@DESKTOP:~$ ssh host pwd
/home/USER
USER@DESKTOP:~$ sshfs host:Desktop tmp
(success)

root@DESKTOP:/home/USER# ssh host pwd
/home/USER
root@DESKTOP:/home/USER# sshfs host:Desktop tmp
fuse: mount failed: No such device
USER@DESKTOP:~$ ls -l /usr/bin/fuser*
-rwsr-xr-x 1 root root 34040 Apr  2 16:33 /usr/bin/fusermount
-rwxr-xr-x 1 root root 30800 Jan 11  2017 /usr/bin/fusermount-glusterfs
-rwxr-xr-x 1 root root  5632 Apr  2 17:02 /usr/bin/fusermount-helper.exe

I don't have such error on a Debian machine.

@cielavenir
Copy link
Author

similar issue found by sshing to the same username on localhost.

ssh USER@localhost
sshfs host:Desktop tmp
fusermount: winmount: no output

@cielavenir cielavenir changed the title cannot run sshfs under root cannot run sshfs under root / inside ssh session to localhost Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant