# Rasa X: Connect to repository - Permission to create ssh key inside of pod denied

**URL:** <https://forum.rasa.com/t/rasa-x-connect-to-repository-permission-to-create-ssh-key-inside-of-pod-denied/32764>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [August 19, 2020, 11:10am UTC](https://forum.rasa.com/t/rasa-x-connect-to-repository-permission-to-create-ssh-key-inside-of-pod-denied/32764 "2020-08-19T11:10:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Val](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/val/32/10393_2.png) [@Val](https://forum.rasa.com/u/Val)\
**Post date:** [August 19, 2020, 11:10am UTC](https://forum.rasa.com/t/rasa-x-connect-to-repository-permission-to-create-ssh-key-inside-of-pod-denied/32764/1 "2020-08-19T11:10:23Z")

</div>

Hello, I have been using the rasa X quick install script to deploy rasa X on a server. But I keep facing issues. And am a bit stuck at this point. When I try to connect rasa X to a GitLab repository I have the message: **Something went wrong. Please try again.**

This is caused by the following problem :

```auto
$ kubectl cluster-info dump --namespace=rasa/rasa-rasa-x-66db886dbc-nt2xq

/usr/local/lib/python3.7/site-packages/rasax/community/services/integrated_version_control/git_service.py:937: UserWarning: An error happened when trying to access 'git@XXX.XXX.X.XXX:user/RasaBot.git'. It seems you don't have to correct permissions for this repository. Please check if your credentials are correct and you have write permissions in the given repository. The error was: Cmd('git') failed due to: exit code(128)
  cmdline: git clone --depth=1 -v git@XXX.XXX.X.XXX:user/RasaBot.git /tmp/tmpuw3bgv2c
  stderr: 'Cloning into '/tmp/tmpuw3bgv2c'...
Could not create directory '/root/.ssh'.
Warning: Permanently added 'XXX.XXX.X.XXX' (ECDSA) to the list of known hosts.
Permission denied, please try again.
Permission denied, please try again.
git@XXX.XXX.X.XXX: Permission denied (publickey,password).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
'.
  f"An error happened when trying to access '{repository_url}'. It seems "
ERROR:rasax.community.api.blueprints.git:Given repository credentials don't provide write permissions to the repository. Please make sure the ssh key is correct and the administrator of the remote repository gave you the required permissions.

```

The problem comes from the fact that the pod cannot create the ssh key on /root/.ssh.

```auto
Could not create directory '/root/.ssh'.

```

When I access a bash inside the shell I end up having the same issue: I don’t have root privileges inside the pod. How did it happen and how can I fix it?

I’m a bit stuck does someone have any lead?

**OS** NAME=“Ubuntu” VERSION=“18.04.3 LTS (Bionic Beaver)”

**Rasa versions** RASA\_X\_VERSION=0.31.1 RASA\_VERSION=1.10.8

---

<div class="post-metadata">

**Author:** ![webdev-rohit](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/webdev-rohit/32/18943_2.png) [@webdev-rohit](https://forum.rasa.com/u/webdev-rohit)\
**Post date:** [May 12, 2022, 2:28pm UTC](https://forum.rasa.com/t/rasa-x-connect-to-repository-permission-to-create-ssh-key-inside-of-pod-denied/32764/2 "2022-05-12T14:28:36Z")

</div>

Same problem @Val did you solve it?
