Skip to content

Instantly share code, notes, and snippets.

@napcae
Last active December 26, 2015 20:59
Show Gist options
  • Save napcae/7213309 to your computer and use it in GitHub Desktop.
Save napcae/7213309 to your computer and use it in GitHub Desktop.
net.rutschle.sslh.plist for launchd
<?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>net.rutschle.sslh</string>
<key>ProgramArguments</key>
<array>
<string>/usr/local/bin/sslh-fork</string>
<string>-f</string>
<string>-u</string>
<string>nobody</string>
<string>-p</string>
<string>192.168.42.2:443</string>
<string>--ssh</string>
<string>pi:22</string>
<string>--ssl</string>
<string>localhost:443</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StandardErrorPath</key>
<string>/Library/Logs/sslh.log</string>
<key>StandardOutPath</key>
<string>/Library/Logs/sslh.log</string>
<key>WatchPaths</key>
<array/>
<key>RunAtLoad</key>
<true/>
<key>KeepAlive</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment