# Forgot ssh password for Yunohost instance

**URL:** https://forum.yunohost.org/t/forgot-ssh-password-for-yunohost-instance/16753
**Category:** Support
**Tags:** english
**Created:** [August 4, 2021, 6:34am UTC](https://forum.yunohost.org/t/forgot-ssh-password-for-yunohost-instance/16753 "2021-08-04T06:34:19Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![buoyantair](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/b/71e660/32.png) [@buoyantair](https://forum.yunohost.org/u/buoyantair)
#### Post date: [August 4, 2021, 6:34am UTC](https://forum.yunohost.org/t/forgot-ssh-password-for-yunohost-instance/16753/1 "2021-08-04T06:34:19Z")

</div>

### My YunoHost server

**Hardware:** VPS bought online  
**YunoHost version:** 4.2.6.1  
**I have access to my server :** Through admin portal only  
**Are you in a special context or did you perform some particular tweaking on your YunoHost instance ?** : yes  
**If yes, please explain:** I changed permissions around, but my admin user has ssh access…

### Description of my issue

I know this is very stupid but basically I am not able to sign into my instance via SSH. I seem to have lost the password and now I cannot log in to use the yunohost command line tool or even resize my volumes…

I do have access to the admin panel but I can’t do much. Last time this happened I managed to recover using some method and made fail2ban not block my ip hence I can do multiple tries on getting the right password but otherwise Im really stuck right now. I do have my backups stored in a different external volume altogether but they are a few months old (cron job didn’t manage to backup due to insufficient space

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [August 4, 2021, 4:37pm UTC](https://forum.yunohost.org/t/forgot-ssh-password-for-yunohost-instance/16753/2 "2021-08-04T16:37:19Z")

</div>

> [@buoyantair](#):
>
> I know this is very stupid but basically I am not able to sign into my instance via SSH.

If you’re able to login to the web admin interface, then that’s the same password. Be sure to log on ssh using the `admin` user (not `root`).

If you forgot your admin password but somehow are still connected to the admin interface, you can change it in Tools \> Change admin password (i think the other day we noticed that it asks for the current admin password, but in fact doesn’t check if that’s the right one 🤔 )

---

<div class="post-metadata">

### Author: ![buoyantair](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/b/71e660/32.png) [@buoyantair](https://forum.yunohost.org/u/buoyantair)
#### Post date: [August 4, 2021, 5:31pm UTC](https://forum.yunohost.org/t/forgot-ssh-password-for-yunohost-instance/16753/3 "2021-08-04T17:31:11Z")

</div>

So I do have the password for admin but I am not able to ssh still…

---

<div class="post-metadata">

### Author: ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)
#### Post date: [August 4, 2021, 5:38pm UTC](https://forum.yunohost.org/t/forgot-ssh-password-for-yunohost-instance/16753/4 "2021-08-04T17:38:53Z")

</div>

Well then can you elaborate what happens when you try then

---

<div class="post-metadata">

### Author: ![buoyantair](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/b/71e660/32.png) [@buoyantair](https://forum.yunohost.org/u/buoyantair)
#### Post date: [August 5, 2021, 8:26am UTC](https://forum.yunohost.org/t/forgot-ssh-password-for-yunohost-instance/16753/5 "2021-08-05T08:26:02Z")

</div>

Okay so I did manage to login using the admin username. I think I got really confused between various usernames that the root has (it has root, admin and my other name all pointing to be admin) so that was confusing… Thank you for the help!

---

<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: [September 4, 2021, 8:26am UTC](https://forum.yunohost.org/t/forgot-ssh-password-for-yunohost-instance/16753/6 "2021-09-04T08:26:55Z")

</div>

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