Why do I get a permission denied error for my SSH key?

If you try to connect to your Git repo and receive this error:

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

This means that the key you added to your Beanstalk account does not match the key on your computer. You should first double check the keys to make sure they are the same. Then you can test to see if Beanstalk can now authenticate properly by running this command:

ssh git@account.beanstalkapp.com (where "account" is your subdomain)

If everything is working correctly, you will see a response like this:

PTY allocation request failed on channel 0

You were successfully authenticated as you@domain.com in account.beanstalkapp.com.
Please use a Git client to properly connect.

Connection to account.beanstalkapp.com closed.

If not, it means that they keys still do not match and you check them again. If the problem persists, please run the command:

ssh -vvv git@account.beanstalkapp.com and then contact us in support with the full output and we'll continue to help from there.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us