Last active
September 18, 2024 06:37
macos ssh fwd plist
This file contains 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>net.evrima.rssh</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/bin/ssh</string> | |
<string>-T</string> | |
<string>-N</string> | |
<string>-R</string> | |
<string>22222:127.0.0.1:22</string> | |
<string>root@r1.evrima.net</string> | |
<string>-i</string> | |
<string>/Users/yasin/.ssh/id_rsa</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>StandardErrorPath</key> | |
<string>/tmp/rssh-evrima.log</string> | |
<key>StandardOutPath</key> | |
<string>/tmp/rssh-evrima.log</string> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
launchctl bootstrap user/503 /Users/yasin/Library/LaunchAgents/net.evrima.rssh.plist
launchctl enable user/503/net.evrima.rssh
launchctl blame user/503/net.evrima.rssh
launchctl error user/503/net.evrima.rssh