# How do I enable SSH on a Gitea self hosted instance?

**URL:** <https://forum.gitea.com/t/how-do-i-enable-ssh-on-a-gitea-self-hosted-instance/10044>\
**Category:** Install/Maintain/Configure\
**Created:** [November 15, 2024, 4:51pm UTC](https://forum.gitea.com/t/how-do-i-enable-ssh-on-a-gitea-self-hosted-instance/10044 "2024-11-15T16:51:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sashin](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@sashin](https://forum.gitea.com/u/sashin)\
**Post date:** [November 15, 2024, 4:51pm UTC](https://forum.gitea.com/t/how-do-i-enable-ssh-on-a-gitea-self-hosted-instance/10044/1 "2024-11-15T16:51:42Z")

</div>

I’ve added an SSH key but it says that SSH is disabled

![image](https://us1.discourse-cdn.com/flex020/uploads/gitea/optimized/2X/4/4a58b11765ee69b4b51a7f0b41badacc1bdbfb74_2_690x28.png)a

I tried to set “DISABLE\_SSH” to false in the app.ini and restarting it, but it automatically is set to true again and the following message appears.

````auto
DISABLE_SSH = false
; In rootless gitea container only internal ssh server is supported```

What can I do?
````

---

<div class="post-metadata">

**Author:** ![michaelagarkov](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/michaelagarkov/32/6468_2.png) [@michaelagarkov](https://forum.gitea.com/u/michaelagarkov)\
**Post date:** [December 1, 2024, 5:27pm UTC](https://forum.gitea.com/t/how-do-i-enable-ssh-on-a-gitea-self-hosted-instance/10044/2 "2024-12-01T17:27:49Z")

</div>

Did you set `START_SSH_SERVER` to true?

---

<div class="post-metadata">

**Author:** ![sashin](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@sashin](https://forum.gitea.com/u/sashin)\
**Post date:** [December 1, 2024, 7:21pm UTC](https://forum.gitea.com/t/how-do-i-enable-ssh-on-a-gitea-self-hosted-instance/10044/3 "2024-12-01T19:21:27Z")

</div>

Yup, it’s already set to true

 ![image](https://us1.discourse-cdn.com/flex020/uploads/gitea/original/2X/2/258347acef1c11a58c9df2058b96a73f3f3bb333.png)

I’m running this through [pikapods.com](http://pikapods.com) which might be a part of the issue
