Skip to content

Instantly share code, notes, and snippets.

@ablakely
Last active February 6, 2020 08:00
Show Gist options
  • Save ablakely/d9095cf2aca711f755cfa6edd0248fda to your computer and use it in GitHub Desktop.
Save ablakely/d9095cf2aca711f755cfa6edd0248fda to your computer and use it in GitHub Desktop.
Launchd sshfs automount
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple/DTD PLIST 1.0//EN" "http"//www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AbandonProcessGroup</key>
<true/>
<key>Label</key>
<string>local.automount.sshfs</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/sshfs</string>
<string>-o</string>
<string>IdentityFile=/Users/aaron/.ssh/id_rsa</string>
<string>aaron@10.0.0.87:/home/aaron/bbsn-manager</string>
<string>/Users/aaron/Remotes/bbsn-manager</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment