# Git asking for password every time I try to push / clone

**URL:** <https://discourse.psychopy.org/t/git-asking-for-password-every-time-i-try-to-push-clone/15323>\
**Category:** jsPsych\
**Tags:** git\
**Created:** [July 28, 2020, 4:13am UTC](https://discourse.psychopy.org/t/git-asking-for-password-every-time-i-try-to-push-clone/15323 "2020-07-28T04:13:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![yarenkoca](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/yarenkoca/32/8230_2.png) [@yarenkoca](https://discourse.psychopy.org/u/yarenkoca)\
**Post date:** [July 28, 2020, 4:13am UTC](https://discourse.psychopy.org/t/git-asking-for-password-every-time-i-try-to-push-clone/15323/1 "2020-07-28T04:13:56Z")

</div>

URL of experiment: [Pavlovia](https://pavlovia.org/ricelab/yaren-psyc890bs-project) (PRIVATE)

Description of the problem: I just finished coding an experiment using jspsych. I created the repository on GitLab, but when I tried to clone the project (using SSH key) I was asked for a password; "[git@gitlab.pavlovia.org](mailto:git@gitlab.pavlovia.org)’s password: ". My Pavlovia password did not do the trick. Public SSH keys are added to the account (both RSA and the ed25519). I was also able to clone and push only 2 days ago with the same account. I tried re-creating the repository, and I also tried to push changes for a previously working existing project, ran into the exact same problem.

Any help is appreciated. Thank you!

---

<div class="post-metadata">

**Author:** ![jon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jon/32/22_2.png) [@jon](https://discourse.psychopy.org/u/jon)\
**Post date:** [July 28, 2020, 8:55am UTC](https://discourse.psychopy.org/t/git-asking-for-password-every-time-i-try-to-push-clone/15323/2 "2020-07-28T08:55:30Z")

</div>

We recently tightened security and blocked ssh access (because most people are push/pulling using https) but looks like that has caused some issues so we might open that again

---

<div class="post-metadata">

**Author:** ![apitiot](https://avatars.discourse-cdn.com/v4/letter/a/85f322/32.png) [@apitiot](https://discourse.psychopy.org/u/apitiot)\
**Post date:** [July 28, 2020, 9:00am UTC](https://discourse.psychopy.org/t/git-asking-for-password-every-time-i-try-to-push-clone/15323/3 "2020-07-28T09:00:05Z")

</div>

I’ve just relaxed the ssh constraints. Hopefully that should solve the issue! Do let us know if you are still experiencing trouble @yarenkoca

Alain

---

<div class="post-metadata">

**Author:** ![jon](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/jon/32/22_2.png) [@jon](https://discourse.psychopy.org/u/jon)\
**Post date:** [July 28, 2020, 9:02am UTC](https://discourse.psychopy.org/t/git-asking-for-password-every-time-i-try-to-push-clone/15323/4 "2020-07-28T09:02:38Z")

</div>

See discussion at [Push/pull commands in terminal prompt for password](https://discourse.psychopy.org/t/push-pull-commands-in-terminal-prompt-for-password/15320/3)

We’ve relaxed the ssh constraints, at least for now. Could you check again (but also bear in mind that https is always an option too)

---

<div class="post-metadata">

**Author:** ![yarenkoca](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/yarenkoca/32/8230_2.png) [@yarenkoca](https://discourse.psychopy.org/u/yarenkoca)\
**Post date:** [July 28, 2020, 9:17am UTC](https://discourse.psychopy.org/t/git-asking-for-password-every-time-i-try-to-push-clone/15323/5 "2020-07-28T09:17:09Z")

</div>

It seem to have worked! Thank you. I will try to stick to HTTPS from now on then.
