Try to specify another option, namely IgnoreUnknown
like below:
Host *
IgnoreUnknown UseKeychain
UseKeychain yes
You can find more info about this here.
If you already have an IgnoreUnknown
value, use comma separated values
Host *
IgnoreUnknown AddKeysToAgent,UseKeychain
AddKeysToAgent yes
UseKeychain yes
If you have multiple Host
configs that use the UseKeychain
option, make sure to put
Host *
IgnoreUnknown UseKeychain
before the first host that uses the the option, e.g. put it at the top of the file.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…