![](/confluence/s/en/2171/1/_/images/icons/emoticons/warning.gif)
Q: Why do I get "Bad configuration option gssapikeyexchange" after upgrading to macOS Sierra?
- After upgrading to macOS Sierra (10.12) and attempting to run ssh, I see an error message like:
How do I fix this?
Context
- You are running macOS Sierra (10.12)
- You have a pre-existing .ssh/config file, possibly with a GSSAPIKeyExchange no setting that was previously required for El Capitan (Mac OS 10.11)
- Replace this list with a list of context items
- For example, the platform, operating system, or software version this question and answer apply to
- This is also a good place to list pre-requsites before the answer can be used (for example: installation disk required)
Answer
- The ssh program in macOS Sierra no longer supports the GSSAPIKeyExchange option
- Remove or comment out lines containing GSSAPIKeyExchange
Labels:
None