SSH Failing on MacOS Sierra

For me, upgrading to MacOS Sierra broke a lot of things that use SSH, including Transmit, Sequel Pro, and a handful of other apps. In fact, it seems to break any app that uses an SSH key with a passphrase. πŸ€”

The solution I found was to tell SSH to use the MacOS keychain. Simply edit ~/.ssh/config and add the following (you can safely create the file if it doesn't exist):

Host *
    UseKeychain yes

That's it! I didn't even have to restart SSH and everything is connecting fine again. πŸ’ͺ

Thanks for Reading

If you found this post helpful, please check out my service Surreal CMS. It’s a hosted content management system with beautiful inline editing and a ton of other great features!

Author avatar

About the author

Cory LaViska is a founder, web developer, and bootstrapper based in Orlando, Florida. Need to get in touch? You can connect with him on Twitter. Looking for a simple, no-worry CMS for your clients? Try my Surreal CMS!