After endless tries and almost giving up, I finally managed to get Coda 2 connecting to my web server vis SFTP with public key authentification.

I tried everything from copying the public key and giving it different names, to even creating a file combining the private and public key (desperate fool :-) )but all Coda had to tell me was “username or password not accepted by the server. I even went so far to yell at the computer:”WHY does yoru stupid terminal tab connect to the server but SFTP does not?!” – Just as expected, I did not get an answer.

Today I finally came across this thread on the Coda Google Group (https://groups.google.com/group/coda-users/browse_thread/thread/385f6874ea3afd38?pli=1)

So all I had to do was adding my private key to the OS X keychain by running

ssh-add -K .ssh/id_whatever_your_private_key_is
and Coda finally connected.
Categories: Mac OS X

5 Responses so far.

  1. Herson says:

    Nice tip! thanks!

    • michael says:

      You’re welcome, hope it helps.
      How do you like Coda 2?
      I start to think that it only looks pretty but that’s all and more and more often I slip back into Netbeans.
      But I won’t give up and maybe I can learn to love Coda. :-D

  2. Richard says:

    This actually did not work for me. Any other suggestions?

    • michael says:

      Sorry for the late relpy, I’m still not used to people actually getting here somehow, so I don’t check it that often. Unfortunately I don’t have any other solutions for Coda, and to be honest, I haven’t used it in a while. I guess it was a $75 lesson to find out free solutions may not look as fancy but work much better.

  3. D. Rimron says:

    Same problems here, but alas that doesn’t seem to be the universal fix-all we’re all seeking…

    Thanks for the tip anyhow… :-D

    -Dx

Leave a Reply