# Lost ssh-key in rancheros

**URL:** <https://forums.suse.com/t/lost-ssh-key-in-rancheros/12659>\
**Category:** General\
**Created:** [December 10, 2018, 9:00am UTC](https://forums.suse.com/t/lost-ssh-key-in-rancheros/12659 "2018-12-10T09:00:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![w10hater](https://avatars.discourse-cdn.com/v4/letter/w/bbce88/32.png) [@w10hater](https://forums.suse.com/u/w10hater)\
**Post date:** [December 10, 2018, 9:00am UTC](https://forums.suse.com/t/lost-ssh-key-in-rancheros/12659/1 "2018-12-10T09:00:29Z")

</div>

Hello, i have lost my ssh-key for rancheros.

How can i add a new ssh-key in my rancheros system?

[https://rancher.com/docs/os/v1.1/en/running-rancheros/server/install-to-disk/](https://rancher.com/docs/os/v1.1/en/running-rancheros/server/install-to-disk/)

> [@How to add new ssh keys with ros config set? (resolved)](http://forums.suse.com/t/how-to-add-new-ssh-keys-with-ros-config-set-resolved/6192):
>
> hi there, i have to add further ssh keys to an already existing rancheros server. i guess needs to be an array but i don’t wanna make something wrong and lock myself out slight_smile ros config set ssh\_authorized\_keys and how to add here multiple keys? would be great to get an example how to add 2 new keys … thanks for the help!

This will not solved my probleme, because i have no access to my rancheros-system.

Where can i find a how to?

Greetz

---

<div class="post-metadata">

**Author:** ![w10hater](https://avatars.discourse-cdn.com/v4/letter/w/bbce88/32.png) [@w10hater](https://forums.suse.com/u/w10hater)\
**Post date:** [December 12, 2018, 6:35am UTC](https://forums.suse.com/t/lost-ssh-key-in-rancheros/12659/2 "2018-12-12T06:35:55Z")

</div>

Start RancherOS

Grub  
Autologin on tty1 and ttyS0

sudo su  
vi /home/rancher/.ssh/authorized\_keys  
reboot

Now i can add the new key.
