Make Your SSH Keys Work in Coda 2

This post is authored for Google, to help out others searching for solutions to Coda 2’s SSH woes.

Since Coda 2 was released, 2.0.1 and 2.0.2 have made strides to improve things, so upgrading is your first step. If you’re still experiencing trouble with Coda accepting your SSH keys, and/or get error messages such as “unable to extract public key from private key file”, try this:

  1. Set up your site as usual — enter username, servername and so on
  2. Click the key icon next to the password box to manually point to the id_rsa key-file (which I’d assume you’ve stored in ~/.ssh)
  3. Check the box “Ask each time”
  4. Save site, connect;  when asked, input SSH key password in the prompt
  5. Behold how it connects
  6. Disconnect, edit site, uncheck “Prompt everytime”

Let me know if the above works for you, it worked for me.

Make Your SSH Keys Work in Coda 2