Accessing Git from Assembla using SSH+RSA
I have just created a repository on Assembla using a Git repository and I have followed their "Getting started with Git" page :
- I validated my git
user.emailanduser.name. Since I'm also using the account on Github, theuser.nameare slightly different between the two accounts. (Can this be an issue?) - I generated my keys using
ssh-keygen -t rsa -C "<email address>". Both email addresses are the same for Github and Assembla. Edit: and uploaded the.pubfile into my Assembla profile. - Added the remote repository with
git remote add origin :<repository name> - Made a commit and pushed to
remote master.
The usual RSA asked me to accept and confirm the certificate, then Ubuntu warned me that the key is locked. I tried my sudo password, my Assembla password... nothing works; I cannot have access to the remote repository.
What's going on?
41 Answer
As a legacy to my Monday clumsiness, the answer is as dumb as :
The command ssh-keygen -t rsa -C "<email address>" asks for a passphrase. If a value is set, that passphrase is the value that must be entered to "unlock" the key.
Now facepalm, everybody!