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. πŸ’ͺ

Simple, Beautiful Publishing

This website is powered by Postleaf, an open source blogging platform I built myself. Check it out if you’re looking for a fresh, modern approach to content management.

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!