Skip to content

Instantly share code, notes, and snippets.

@kkebo
Last active September 25, 2022 11:16
Show Gist options
  • Save kkebo/003f4c45b090f014ae400a5adbecce63 to your computer and use it in GitHub Desktop.
Save kkebo/003f4c45b090f014ae400a5adbecce63 to your computer and use it in GitHub Desktop.
Plist file for LaunchAgents when OpenSSH is installed via Homebrew (for macOS 13 aarch64)
<?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>Disabled</key>
<true/>
<key>Label</key>
<string>com.openssh.sshd.homebrew</string>
<key>Program</key>
<string>/opt/homebrew/sbin/sshd</string>
<key>ProgramArguments</key>
<array>
<string>/opt/homebrew/sbin/sshd</string>
<string>-i</string>
</array>
<key>Sockets</key>
<dict>
<key>Listeners</key>
<dict>
<key>SockServiceName</key>
<string>ssh</string>
<key>Bonjour</key>
<array>
<string>ssh</string>
<string>sftp-ssh</string>
</array>
</dict>
</dict>
<key>inetdCompatibility</key>
<dict>
<key>Wait</key>
<false/>
<key>Instances</key>
<integer>42</integer>
</dict>
<key>StandardErrorPath</key>
<string>/dev/null</string>
<key>SHAuthorizationRight</key>
<string>system.preferences</string>
<key>POSIXSpawnType</key>
<string>Interactive</string>
<key>MaterializeDatalessFiles</key>
<true/>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment