Created
November 23, 2021 10:54
-
-
Save alpacas9/eb63e91b1266e01c6ba894e8b3ac1523 to your computer and use it in GitHub Desktop.
remote ssh
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
| /usr/local/bin/autossh -M 0 -q -N -o "ServerAliveInterval 60" -R 9998:localhost:9997 root@80.241.210.42 | |
| <?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>com.remote_tunnel</string> | |
| <key>Program</key> | |
| <string>/Users/octoclient/scripts/remote_ssh_tunnel.sh</string> | |
| <key>RunAtLoad</key> | |
| <true/> | |
| <key>KeepAlive</key> | |
| <false/> | |
| <key>LaunchOnlyOnce</key> | |
| <true/> | |
| <key>StandardOutPath</key> | |
| <string>/tmp/remote_tunnel.stdout</string> | |
| <key>StandardErrorPath</key> | |
| <string>/tmp/remote_tunnel.stderr</string> | |
| <key>UserName</key> | |
| <string>octoclient</string> | |
| <key>GroupName</key> | |
| <string>admin</string> | |
| <key>InitGroups</key> | |
| <true/> | |
| </dict> | |
| </plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment