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:
- Go to your
~/.sshfolder and double check if the public key in the folder is the same as the one in Buddy.
Run this command to see if Buddy can authenticate properly with the keys:
ssh email@example.comIf 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 firstname.lastname@example.org and send the output to email@example.com - we'll try to help you out.