Created
December 19, 2013 01:30
-
-
Save qerub/8032821 to your computer and use it in GitHub Desktop.
Piping sshd through spiped running as an OS X launch daemon
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>spiped-ssh</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/local/bin/spiped</string> | |
<string>-d</string> | |
<string>-F</string> | |
<string>-s</string> | |
<string>[0.0.0.0]:31358</string> | |
<string>-t</string> | |
<string>[127.0.0.1]:22</string> | |
<string>-k</string> | |
<string>/Users/arne/.spiped/ssh.key</string> | |
</array> | |
<key>KeepAlive</key> | |
<true/> | |
<key>StandardOutPath</key> | |
<string>/Users/arne/.spiped/ssh.log</string> | |
<key>StandardErrorPath</key> | |
<string>/Users/arne/.spiped/ssh.log</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To load:
launchctl load ~/Library/LaunchAgents/spiped-ssh.plist