James Raitsev
James Raitsev

Reputation: 96521

SSH key confusion, 2 quick questions

On computer A I created 2 ssh keys, public and private. The public key was added to the SSH keys on Assembla server (git repo)

On computer A, I am able to push, pull, clone etc with issues, however when using computer B, I get

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

In my ~/.ssh/ directory I have a id_rsa.pub -> /Users/my_uid/Dropbox/ssh/id_rsa.pub, which matches the one set in Assembla

What might the problem be here?

Upvotes: 1

Views: 196

Answers (1)

nhahtdh
nhahtdh

Reputation: 56829

You must put your private key in the .ssh folder on whatever computer that you want to use to access remote git repo.

Upvotes: 2

Related Questions