selfprivacy.org.app/assets/markdown/how_fallback_terminal-be.md

27 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

У панэлі кіравання серверам Hetzner перайдзіце на ўкладку **Rescue**. Затым націсніце на **Enable rescue & power cycle**.
У полі *Choose a Recue OS* выберыце **linux64**, а ў *SSH Key* выберыце свой ключ, калі ён быў дададзены ў ваш уліковы запіс Hetzner.
Націсніце **Enable rescue & power cycle** і дачакайцеся перазагрузкі сервера. На экране адлюструюцца лагін і пароль. Увайдзіце ў сістэму root, выкарыстоўваючы свой лагін і пароль.
Падключыце файлавую сістэму сервера і паглядзіце змесціва файла токена:
```sh
mount /dev/sda1 /mnt
cat /mnt/etc/nixos/userdata/tokens.json
```
Гэты файл будзе мець падобны змест:
```json
{
"tokens": [
{
"token": "token_to_copy",
"name": "device_name",
"date": "date"
}
```
Скапіруйце токен з файла і ўстаўце яго ў наступнае акно.