A new issue with SSHFS
A new issue with SSHFS
Hey ya! So here's something damn weird. [email protected]:/ /mnt/pi fuse.sshfs delay_connect,IdentityFile=/home/arokan/.ssh/id_rsa,idmap=user,port=13,rw,uid=1000,gid=1000,nosuid,nodev,_netdev,allow_other,default_permissions,reconnect 0 0 This is the fstab-entry for my pi. It has worked for many months until yesterday, the pi quit it's job and I reinstalled the os. I added .ssh-folder and everything else I need and this entry doesn't work anymore. ls ./pi -> returns input/output error sudo umount pi && sudo mount pi && ls ./pi -> returns input/output error Now, what doesn't return input/output error and appears to work is mount ./pi Somehow the command doesn't work under sudo, which is quite unfortunate since fstab works under the root user. I was hoping somebody here had the same problem fixed or knows how to do it. Many thanks in adv. Arokan
I identified the issue. Writing sshfs in fstab causes it to mount using root privileges. Everything seems fine so far. What I wasn't expecting is that the initial SSH handshake between the devices isn't limited to system-wide access—it spans user-level as well. This means you can log into the Pi from your PC's root account after resolving the problem.