3 ms·
Is macOS /user/bin/ssh just upstream OpenSSH, or does Apple maintain a fork? If no fork, this would be an upstream OpenSSH problem, no?
by derefr 7y ago
Is macOS /user/bin/ssh just upstream OpenSSH, or does Apple maintain a fork? If no fork, this would be an upstream OpenSSH problem, no?
- saagarjha 7y agohttps://opensource.apple.com/source/OpenSSH/OpenSSH-235/ https://opensource.apple.com/source/OpenSSH/OpenSSH-235/
- paxswill 7y agoApple includes a customized version of OpenSSH. From what I recall from the last time I looked at it, the changes were mostly integrating the key retrieval mechanisms with the rest of macOS. For example, Apple's ssh-add can store key passphrase in Keychain with the -K option, and then later access those passphrase with the -A flag.
- floatingatoll 7y agoThose stored key passphrases are visible with the Keychain Access application, Kind: "application password", name: "SSH: /full/path/to/key", in the login & iCloud keychains.
- skoskie 7y agoIf using the upstream version there is one line to add to a startup script or to your zshrc (et. al.) file ... ssh-add -A > /dev/null ... and one default value to place in your ssh config file... AddToKeychain Yes ... to get around this issue. It works fine after that. (On mobile. Sorry for formatting)
- matthewbauer 7y agoI'm pretty sure they use libressl now.