fuse4x / sshfs

GNU General Public License v2.0
41 stars 4 forks source link

IdentityFile Issue #5

Open tristan-k opened 12 years ago

tristan-k commented 12 years ago

I'm trying to mount my iPhone via sshfs and iproxy everytime it is connect to my macbook via usb connection. I made a bashscript which consists of the following and gets triggered by ControlPlane:

iproxy 2222 22 & mkdir -p /Users/tristank/Volumes/tk-iPhone sshfs -o IdentityFile=/Users/tristank/.ssh/id_rsa -o noappledouble -o allow_other -o defer_permissions -o volicon=/Users/tristank/Pictures/Icons/icns/iPhone.icns -o volname=tk-iPhone mobile@localhost:/var/mobile /Users/tristank/Volumes/tk-iPhone

I also set up a public key authentication with my macbook, in order to get no password prompt. If I execute the script from the terminal it prompts for a password but since this should be obsoelte with the IdentityFile option, something must go wrong. I also opened a thread at https://github.com/dustinrue/ControlPlane/issues/158 but it seems that this is more of problem regarding sshfs.