user47835
user47835

Reputation: 159

SSH Gitlab clone asking for password

I am trying to clone a repository from my universities gitlab and after entering the command it is asking for a password.

 git clone [email protected]:os/sp18/Assignment1

 Cloning into 'Assignment1_CRefresher_user'...
 [email protected]'s password:

I am not figuring out how to get past this step what password is it asking for? I have an SSH key pair generated on my gitlab profile is that that the issueand what I need to connect to my personal computer in some way?

Upvotes: 3

Views: 3246

Answers (1)

user47835
user47835

Reputation: 159

Figured it out. I believe I was not inside my instance when the SSH key was created. it should only ask for a password if there is no key.

Sorry if I wasted anybody's time thank you

Upvotes: 1

Related Questions