Last active
April 29, 2020 05:48
-
-
Save rryter/f5f439fd67ea049cad3a9e64bbc98269 to your computer and use it in GitHub Desktop.
Trezor SSH Socket
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>KeepAlive</key> | |
<true/> | |
<key>Label</key> | |
<string>Trezor SSH Socket</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>sh</string> | |
<string>-c</string> | |
<string>ln -s -f $SSH_TREZOR_SOCK ~/.ssh/trezor-agent/S.ssh && /usr/local/bin/trezor-agent --foreground --sock-path $SSH_TREZOR_SOCK ~/.ssh/trezor.conf 2> ~/.ssh/trezor-agent/error.log</string> | |
</array> | |
<key>RunAtLoad</key> | |
<true/> | |
<key>Sockets</key> | |
<dict> | |
<key>ssh</key> | |
<array> | |
<dict> | |
<key>SecureSocketWithKey</key> | |
<string>SSH_TREZOR_SOCK</string> | |
<key>SockFamily</key> | |
<string>Unix</string> | |
<key>SockPathMode</key> | |
<integer>384</integer> | |
</dict> | |
</array> | |
</dict> | |
<key>ThrottleInterval</key> | |
<integer>0</integer> | |
</dict> | |
</plist> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://apple.stackexchange.com/a/313772/370450