Files: f4d2a8d2adb32056e656a73ce3d1d1d155f81046 / README.MacOSX
1349 bytesRaw
1 | |
2 | sslh is available for Mac OS X via MacPorts. If you have |
3 | MacPorts installed on your system you can install sslh by |
4 | executing the following in the Terminal: |
5 | |
6 | port install sslh |
7 | |
8 | Also, the following is a helpful launchd configuration that |
9 | covers the most common use case of sslh. Save the following |
10 | into a text file, e.g. |
11 | /Library/LaunchDaemons/net.rutschle.sslh.plist, then load it |
12 | with launchctl or simply reboot. |
13 | |
14 | ----BEGIN FILE---- |
15 | <?xml version="1.0" encoding="UTF-8"?> |
16 | <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
17 | <plist version="1.0"> |
18 | <dict> |
19 | <key>Disabled</key> |
20 | <false/> |
21 | <key>KeepAlive</key> |
22 | <true/> |
23 | <key>Label</key> |
24 | <string>net.rutschle.sslh</string> |
25 | <key>ProgramArguments</key> |
26 | <array> |
27 | <string>/opt/local/sbin/sslh</string> |
28 | <string>-f</string> |
29 | <string>-v</string> |
30 | <string>-u</string> |
31 | <string>nobody</string> |
32 | <string>-p</string> |
33 | <string>0.0.0.0:443</string> |
34 | <string>--ssh</string> |
35 | <string>localhost:22</string> |
36 | <string>--ssl</string> |
37 | <string>localhost:443</string> |
38 | </array> |
39 | <key>QueueDirectories</key> |
40 | <array/> |
41 | <key>RunAtLoad</key> |
42 | <true/> |
43 | <key>StandardErrorPath</key> |
44 | <string>/Library/Logs/sslh.log</string> |
45 | <key>StandardOutPath</key> |
46 | <string>/Library/Logs/sslh.log</string> |
47 | <key>WatchPaths</key> |
48 | <array/> |
49 | </dict> |
50 | </plist> |
51 | |
52 | ----END FILE---- |
53 | |
54 | |
55 |
Built with git-ssb-web