-
Notifications
You must be signed in to change notification settings - Fork 4
Description
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 dustinrue/ControlPlane#158 but it seems that this is more of problem regarding sshfs.