Hiufan
Hiufan

Reputation: 57

gitlab push via ssh require password

I have successfully installed gitlab on our company's server. And I have tested the ssh way to pull/push the modified files. It works well in my macbook. However, My workmates use windows 7 for development.

So when I helped them to config the ssh key for the gitlab according the (gitlab's document)[ http://doc.gitlab.com/ce/ssh/README.html ],it doesn't work.

Every time when they push the modified files to the gitlab, it require's them to type password. I don't know why is this happening, so please help me out.

Upvotes: 1

Views: 223

Answers (1)

user2636464
user2636464

Reputation: 735

It asks for password if you have not added the ssh-key to your gitlab account. I use windows 7 and this is what I did. open git bash type ssh-keygen and accept defaults clip < ~/.ssh/id_rsa.pub go to gitlab account -> add ssh-key and paste there. I can now clone fine from there to my local windows 7 machine and work and push to remote fine.

Upvotes: 2

Related Questions