easysshfs icon indicating copy to clipboard operation
easysshfs copied to clipboard

sshfs fails and gives wrong error-messages

Open rkoe opened this issue 5 years ago • 3 comments

Unfortunately, easysshfs does not work, and always gives wrong error-messages.

  1. Wrong message in GUI: GUI says "done", although it failed.

  2. Log always says "Pattern USER@IP:/DIR LOCALDIR fuse.sshfs is not in /proc/mounts", which does not help at all.

  3. Using the commandline always says "read: Connection reset by peer", but this is not true:

    $ su -c "echo PASSWORD | /data/user/0/ru.nsu.bobrofon.easysshfs/files/sshfs -o 'ssh_command=/data/user/0/ru.nsu.bobrofon.easysshfs/files/ssh,password_stdin,UserKnownHostsFile=/dev/null,StrictHostKeyChecking=no,rw,dirsync,nosuid,nodev,noexec,umask=0,allow_other,uid=9997,gid=9997,port=22' USER@IP:/DIR LOCALDIR"
    read: Connection reset by peer
    

    But 'Connection reset by peer' is wrong -- sshfs does not even try to connect to the remote IP! And unfortunately, it seems that easysshfs does not have any verbose/debug messages to determine the true error.

By the way: ssh and sftp in Termux work well; but easysshfs does not even try to connect.

rkoe avatar Nov 28 '19 12:11 rkoe

I am getting this error as well

TuRDMaN avatar Nov 08 '22 19:11 TuRDMaN

@TuRDMaN Are you sure you are not seeing just another mount namespaces related problem like the problem explained here: https://github.com/bobrofon/easysshfs/issues/3#issuecomment-478190548 ?

bobrofon avatar Nov 08 '22 21:11 bobrofon

ssh and sftp in Termux work well

BTW /data/user/0/ru.nsu.bobrofon.easysshfs/files/{ssh, sshfs} are replaceable. It is possible to copy Termux's versions of ssh/sshfs here and the application will use them instead. I'm not sure that the observable result will be different, though. :(

bobrofon avatar Nov 08 '22 21:11 bobrofon