Knowledge

How to solve SSH permission denied error?

If you're receiving the following error it means that the key added to Buddy doesn't match the key on your computer:

Permission denied (publickey,keyboard-interactive).
fatal: The remote end hung up unexpectedly

Here's what you should do:

  1. Go to your ~/.ssh folder and double check if the public key in the folder is the same as the one in Buddy.
  2. Run this command to see if Buddy can authenticate properly with the keys: ssh buddy@app.buddy.works If everything's alright, you'll receive a response of this type:

    Hi there! You are good to go. Just start pushing and pulling :)
    Connection to buddy.works closed.
    

If you again fail to authenticate, it means that the keys still don't match. If you are 100% sure that the keys are the same and everything should work properly, please run ssh -vvv buddy@buddy.works and send the output to support@buddy.works - we'll try to help you out.

Get started now

14 days of unlimited trial. No credit card required.