sshfs : reset by peer ubuntu

It's NOT true that, if you are able to ssh to a machine you simply use sshfs. You may need to change the some option:

1. Try to debug with -o sshfs_debug

2. Some systems support SSH 1 only change use proper one ( -1 -2 option )
( if error is sshfs connection Permission denied (publickey). reset by peer )

3. You may need to add -o allow_root,uid=0

4. You need to be a root/superuser
(fuse: failed to open /dev/fuse: Permission denied )

5. You may need to check out port number


Finally your command may look like :

sudo sshfs -1 -o allow_root,uid=0 [username]@[hostname]:[source directory] [mount directory] -o sshfs_debug

(-1 is minus ONE, and not minus L (-l) )


Rock with SSH !!

No comments: