Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bdmorin/941dddcba84760c91125c5247100ecad to your computer and use it in GitHub Desktop.
Save bdmorin/941dddcba84760c91125c5247100ecad to your computer and use it in GitHub Desktop.
<?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/[Local_Username]/.ssh/id_rsa</string>
<string>[Remote_Username]@[Remote]:/home/[Remote_Username]/projects</string>
<string>/Users/[Local_Username]/Remotes/Devbox</string>
</array>
<key>RunAtLoad</key>
<true/>
</dict>
</plist>
@bdmorin
Copy link
Author

bdmorin commented Mar 23, 2017

Bring up with:
launchctl load ~/Library/LaunchAgents/local.automount.sshfs.plist
originally from: https://medium.com/@gsklee/atom-working-with-remote-files-seamlessly-over-ssh-using-sshfs-38de3b31965f#.8ym08eod0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment