Files: 80f76c6fc58f4ae5c3d25f42017a11d4918e1502 / README.MacOSX
1629 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" |
17 | "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
18 | <plist version="1.0"> |
19 | <dict> |
20 | <key>Disabled</key> |
21 | <false/> |
22 | <key>KeepAlive</key> |
23 | <true/> |
24 | <key>Label</key> |
25 | <string>net.rutschle.sslh</string> |
26 | <key>ProgramArguments</key> |
27 | <array> |
28 | <string>/opt/local/sbin/sslh</string> |
29 | <string>-f</string> |
30 | <string>-v</string> |
31 | <string>-u</string> |
32 | <string>nobody</string> |
33 | <string>-p</string> |
34 | <string>0.0.0.0:443</string> |
35 | <string>-s</string> |
36 | <string>localhost:22</string> |
37 | <string>-l</string> |
38 | <string>localhost:443</string> |
39 | </array> |
40 | <key>QueueDirectories</key> |
41 | <array/> |
42 | <key>RunAtLoad</key> |
43 | <true/> |
44 | <key>StandardErrorPath</key> |
45 | <string>/Library/Logs/sslh.log</string> |
46 | <key>StandardOutPath</key> |
47 | <string>/Library/Logs/sslh.log</string> |
48 | <key>WatchPaths</key> |
49 | <array/> |
50 | </dict> |
51 | </plist> |
52 | ----END FILE---- |
53 | |
54 | |
55 |
Built with git-ssb-web