I am sharing my ssh_config between a sierra macbook and machines with earlier versions, ie Yosemite. But when it reads UseKeychain yes, it considers it a missconfiguration.
Can this be fixed?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityYou can use Match
blocks in the ssh_config
to differentiate between OS versions, for example:
# or some other condition that is true only on your new systems
Match exec ssh -V | grep -v OpenSSH_6
UseKeychain yes
You can use IgnoreUnknown
:
IgnoreUnknown UseKeychain
UseKeychain yes
I found that information here: https://developer.apple.com/library/content/technotes/tn2449/_index.html