# GitLab: suddenly I cannot clone | push | pull any project using SSH keys

**URL:** https://forum.yunohost.org/t/gitlab-suddenly-i-cannot-clone-push-pull-any-project-using-ssh-keys/17633
**Category:** Support apps
**Tags:** gitlab, english
**Created:** [October 31, 2021, 4:53pm UTC](https://forum.yunohost.org/t/gitlab-suddenly-i-cannot-clone-push-pull-any-project-using-ssh-keys/17633 "2021-10-31T16:53:18Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mobil750](https://forum.yunohost.org/user_avatar/forum.yunohost.org/mobil750/32/5241_2.png) [@mobil750](https://forum.yunohost.org/u/mobil750)
#### Post date: [October 31, 2021, 4:53pm UTC](https://forum.yunohost.org/t/gitlab-suddenly-i-cannot-clone-push-pull-any-project-using-ssh-keys/17633/1 "2021-10-31T16:53:18Z")

</div>

### My YunoHost server

**Hardware:** (Old) computer  
**YunoHost version:** 4.2.8.3 (stable)  
**I have access to my server :** Through SSH and through the webadmin  
**Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?** : no

### Description of my issue

Hi,

I use Yunohost and GitLab since about 2 years. I have provided SSH keys for each client I use in my projects. When cloning, pushing or pulling I was asked to enter the SSH keys password. This worked smoothly.

Since a few days (weeks? - there was a longer break in using GitLab) the SSH keys are completely ignored and I am asked to enter the git password instead - what I don’t have.  
I think this is a result of one of the last updates within Yunohost System. I have currently trouble with upgrading GitLab which is handled in a seperate Thread. As I still run the old GitLab version (13.3.4~ynh1) which still works perfectly I think something within Yunohost system changed and causes the SSH key problem for GitLab app.

I tried to delete a client Key and added a new one for that client but it behaves identically, asking for git password.

```auto
esp32-ota-template % git push --verbose git@yunohost.local:helmut/esp32-ota-template.git
Pushing to yunohost.local:helmut/esp32-ota-template.git
Debian GNU/Linux 10
git@yunohost.local's password: 

```

The keys work as usual when logging in on Yunohost console.

I hope someone can help me to solve this problem

Thanks a lot in advance  
mobil750

Is there no idea what’s going wrong?

---

<div class="post-metadata">

### Author: ![wbk](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/w/e0b2c6/32.png) [@wbk](https://forum.yunohost.org/u/wbk)
#### Post date: [November 10, 2021, 9:34pm UTC](https://forum.yunohost.org/t/gitlab-suddenly-i-cannot-clone-push-pull-any-project-using-ssh-keys/17633/2 "2021-11-10T21:34:53Z")

</div>

> [@mobil750](#):
>
> I think this is a result of one of the last updates within Yunohost System

What version did your Yunohost come from? The first thing I thought of is a relatively recent addition is management of SSH access via user groups, maybe the introduction of those user rights messed up the existing configuration for Gitlab?

 ![image](https://forum.yunohost.org/uploads/default/original/2X/f/fd73b40f1fa1eedd88c9e42e6d6bf037b3015d63.png)

(bottom half: the manage-groups-button, top half: create a group  
or users with SSH access)

Then again, if you still can log on via SSH with these accounts, that could not be the problem.

> [@mobil750](#):
>
> I still run the old GitLab version

Could it be that the git on the client got an update, and is not using a certain family of keys anymore? What is there in the SSH log, serverside?

---

<div class="post-metadata">

### Author: ![mobil750](https://forum.yunohost.org/user_avatar/forum.yunohost.org/mobil750/32/5241_2.png) [@mobil750](https://forum.yunohost.org/u/mobil750)
#### Post date: [November 19, 2021, 6:42pm UTC](https://forum.yunohost.org/t/gitlab-suddenly-i-cannot-clone-push-pull-any-project-using-ssh-keys/17633/3 "2021-11-19T18:42:37Z")

</div>

As I have several different clients and all behave identically, I’m pretty sure that not a change on these clients causes the problem.  
On the other hand my last Yunhost Migration was “Support for SSH and SFTP Rights”, so I think you may be right that this caused the trouble with Gitlab.

If so, how can it be solved?

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [December 4, 2021, 6:42pm UTC](https://forum.yunohost.org/t/gitlab-suddenly-i-cannot-clone-push-pull-any-project-using-ssh-keys/17633/4 "2021-12-04T18:42:41Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
