Access Keys:
Skip to content (Access Key - 0)

Error ssh-ing to Athena - ssh_dispatch_run_fatal

You may get an error ssh_dispatch_run_fatal when ssh'ing to MIT Athena computers:

$ ssh username@athena.dialup.mit.edu

ssh_dispatch_run_fatal: Connection to 18.9.64.18: unexpected internal error

Context

  • This has been seen on Macs running OSX 10.11 ("El Capitan")

Answer

Try disabling the GSSAPIKeyExchange SSH option.

  • One way to do this is to add "-o GSSAPIKeyExchange=no" to the ssh command:
    $ ssh -o GSSAPIKeyExchange=no _username_@athena.dialup.mit.edu
    
  • Another way to do it is to add the setting to your ~/.ssh/config file:
    # For each parameter, the first-obtained value will be used.
    Host *.mit.edu
     GSSAPIKeyExchange = no
    
  • Some versions of OSX may object to the presence of the GSSAPIKeyExchange variable in your ~/.ssh/config file, and will report an error that includes 'Bad configuration option: GSSAPIKeyExchange' in which case you should try removing that line entirely.

For more information about the ssh config file see its man page.

Commentary

GSSAPIKeyExchange is reportedly broken in the openssh client that ships with Mac OS 10.11

GSSAPIKeyExchange isn't required for GSSAPIAuthentication to work, but lacking GSSAPIKeyExchange means you might have to wrangle host keys.

IS&T Contributions

Documentation and information provided by IS&T staff members


Last Modified:

November 10, 2016

Get Help

Request help
from the Help Desk
Report a security incident
to the Security Team
Labels:
ssh ssh Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
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