Skip to content

Instantly share code, notes, and snippets.

@jjgod
Created November 13, 2009 08:00
Show Gist options
  • Save jjgod/233667 to your computer and use it in GitHub Desktop.
Save jjgod/233667 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>Label</key>
<string>org.jjgod.autossh</string>
<key>KeepAlive</key>
<dict>
<key>SuccessfulExit</key>
<true/>
</dict>
<key>RunAtLoad</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>/opt/local/bin/autossh</string>
<string>-M</string>
<string>4444</string>
<string>-qfTnN</string>
<string>-D</string>
<string>7777</string>
<string>host_to_connect</string>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment