Access Keys:
Skip to content (Access Key - 0)
Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version. Compare with Current  |   View Page History

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:
    dhcp-18-111-116-122:~ username$ ssh username@athena.dialup.mit.edu
    /Users/username/.ssh/config: line 2: Bad configuration option: gssapikeyexchange
    /Users/username/.ssh/config: terminating, 1 bad configuration options
    

    or

    /etc/ssh/ssh_config: line 20: Bad configuration option: gssapikeyexchange
    /etc/ssh/ssh_config: terminating, 1 bad configuration options
    

    How do I fix this?

Context

  • You are running macOS Sierra (10.12)
  • You have a pre-existing .ssh/config or /etc/ssh/ssh_config file, possibly with a GSSAPIKeyExchange no setting that was previously required for El Capitan (Mac OS 10.11)

Answer

  • The ssh program in macOS Sierra no longer supports the GSSAPIKeyExchange option
  • Remove or comment out lines containing GSSAPIKeyExchange
Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Last Modified:

page-info: unable to locate page


Get Help

Request help
from the Help Desk
Report a security incident
to the Security Team
Feedback
This product/service is:
Easy to use
Average
Difficult to use

This article is:
Helpful
Inaccurate
Obsolete
Adaptavist Theme Builder (4.2.3) Powered by Atlassian Confluence 3.5.13, the Enterprise Wiki