From d77dcc7167673d60f23bba0218b7647706f7468b Mon Sep 17 00:00:00 2001 From: dettlaff Date: Sun, 2 Jun 2024 20:15:07 +0400 Subject: [PATCH] fix: update english howto get token from the ssh --- assets/markdown/how_fallback_ssh-en.md | 18 +++--------------- assets/markdown/how_fallback_ssh-es.md | 18 +++--------------- assets/markdown/how_fallback_ssh-fr.md | 18 +++--------------- assets/markdown/how_fallback_ssh-it.md | 18 +++--------------- assets/markdown/how_fallback_ssh-ja.md | 18 +++--------------- assets/markdown/how_fallback_ssh-ka.md | 18 +++--------------- assets/markdown/how_fallback_ssh-nl.md | 18 +++--------------- assets/markdown/how_fallback_ssh-th.md | 18 +++--------------- 8 files changed, 24 insertions(+), 120 deletions(-) diff --git a/assets/markdown/how_fallback_ssh-en.md b/assets/markdown/how_fallback_ssh-en.md index ce90e76a..e5bcab69 100644 --- a/assets/markdown/how_fallback_ssh-en.md +++ b/assets/markdown/how_fallback_ssh-en.md @@ -1,19 +1,7 @@ -Login as root user to your server and look at the contents of the file `/etc/nixos/userdata/tokens.json` +[Login as root user to your server](https://selfprivacy.org/docs/how-to-guides/root_ssh/) and enter this command: ```sh -cat /etc/nixos/userdata/tokens.json +sp-print-api-token ``` -This file will have a similar construction: - -```json -{ - "tokens": [ - { - "token": "token_to_copy", - "name": "device_name", - "date": "date" - } -``` - -Copy the token from the file and paste it in the next window. +Copy the token from the terminal and paste it in the next window. diff --git a/assets/markdown/how_fallback_ssh-es.md b/assets/markdown/how_fallback_ssh-es.md index ce90e76a..e5bcab69 100644 --- a/assets/markdown/how_fallback_ssh-es.md +++ b/assets/markdown/how_fallback_ssh-es.md @@ -1,19 +1,7 @@ -Login as root user to your server and look at the contents of the file `/etc/nixos/userdata/tokens.json` +[Login as root user to your server](https://selfprivacy.org/docs/how-to-guides/root_ssh/) and enter this command: ```sh -cat /etc/nixos/userdata/tokens.json +sp-print-api-token ``` -This file will have a similar construction: - -```json -{ - "tokens": [ - { - "token": "token_to_copy", - "name": "device_name", - "date": "date" - } -``` - -Copy the token from the file and paste it in the next window. +Copy the token from the terminal and paste it in the next window. diff --git a/assets/markdown/how_fallback_ssh-fr.md b/assets/markdown/how_fallback_ssh-fr.md index ce90e76a..e5bcab69 100644 --- a/assets/markdown/how_fallback_ssh-fr.md +++ b/assets/markdown/how_fallback_ssh-fr.md @@ -1,19 +1,7 @@ -Login as root user to your server and look at the contents of the file `/etc/nixos/userdata/tokens.json` +[Login as root user to your server](https://selfprivacy.org/docs/how-to-guides/root_ssh/) and enter this command: ```sh -cat /etc/nixos/userdata/tokens.json +sp-print-api-token ``` -This file will have a similar construction: - -```json -{ - "tokens": [ - { - "token": "token_to_copy", - "name": "device_name", - "date": "date" - } -``` - -Copy the token from the file and paste it in the next window. +Copy the token from the terminal and paste it in the next window. diff --git a/assets/markdown/how_fallback_ssh-it.md b/assets/markdown/how_fallback_ssh-it.md index ce90e76a..e5bcab69 100644 --- a/assets/markdown/how_fallback_ssh-it.md +++ b/assets/markdown/how_fallback_ssh-it.md @@ -1,19 +1,7 @@ -Login as root user to your server and look at the contents of the file `/etc/nixos/userdata/tokens.json` +[Login as root user to your server](https://selfprivacy.org/docs/how-to-guides/root_ssh/) and enter this command: ```sh -cat /etc/nixos/userdata/tokens.json +sp-print-api-token ``` -This file will have a similar construction: - -```json -{ - "tokens": [ - { - "token": "token_to_copy", - "name": "device_name", - "date": "date" - } -``` - -Copy the token from the file and paste it in the next window. +Copy the token from the terminal and paste it in the next window. diff --git a/assets/markdown/how_fallback_ssh-ja.md b/assets/markdown/how_fallback_ssh-ja.md index ce90e76a..e5bcab69 100644 --- a/assets/markdown/how_fallback_ssh-ja.md +++ b/assets/markdown/how_fallback_ssh-ja.md @@ -1,19 +1,7 @@ -Login as root user to your server and look at the contents of the file `/etc/nixos/userdata/tokens.json` +[Login as root user to your server](https://selfprivacy.org/docs/how-to-guides/root_ssh/) and enter this command: ```sh -cat /etc/nixos/userdata/tokens.json +sp-print-api-token ``` -This file will have a similar construction: - -```json -{ - "tokens": [ - { - "token": "token_to_copy", - "name": "device_name", - "date": "date" - } -``` - -Copy the token from the file and paste it in the next window. +Copy the token from the terminal and paste it in the next window. diff --git a/assets/markdown/how_fallback_ssh-ka.md b/assets/markdown/how_fallback_ssh-ka.md index ce90e76a..e5bcab69 100644 --- a/assets/markdown/how_fallback_ssh-ka.md +++ b/assets/markdown/how_fallback_ssh-ka.md @@ -1,19 +1,7 @@ -Login as root user to your server and look at the contents of the file `/etc/nixos/userdata/tokens.json` +[Login as root user to your server](https://selfprivacy.org/docs/how-to-guides/root_ssh/) and enter this command: ```sh -cat /etc/nixos/userdata/tokens.json +sp-print-api-token ``` -This file will have a similar construction: - -```json -{ - "tokens": [ - { - "token": "token_to_copy", - "name": "device_name", - "date": "date" - } -``` - -Copy the token from the file and paste it in the next window. +Copy the token from the terminal and paste it in the next window. diff --git a/assets/markdown/how_fallback_ssh-nl.md b/assets/markdown/how_fallback_ssh-nl.md index ce90e76a..e5bcab69 100644 --- a/assets/markdown/how_fallback_ssh-nl.md +++ b/assets/markdown/how_fallback_ssh-nl.md @@ -1,19 +1,7 @@ -Login as root user to your server and look at the contents of the file `/etc/nixos/userdata/tokens.json` +[Login as root user to your server](https://selfprivacy.org/docs/how-to-guides/root_ssh/) and enter this command: ```sh -cat /etc/nixos/userdata/tokens.json +sp-print-api-token ``` -This file will have a similar construction: - -```json -{ - "tokens": [ - { - "token": "token_to_copy", - "name": "device_name", - "date": "date" - } -``` - -Copy the token from the file and paste it in the next window. +Copy the token from the terminal and paste it in the next window. diff --git a/assets/markdown/how_fallback_ssh-th.md b/assets/markdown/how_fallback_ssh-th.md index ce90e76a..e5bcab69 100644 --- a/assets/markdown/how_fallback_ssh-th.md +++ b/assets/markdown/how_fallback_ssh-th.md @@ -1,19 +1,7 @@ -Login as root user to your server and look at the contents of the file `/etc/nixos/userdata/tokens.json` +[Login as root user to your server](https://selfprivacy.org/docs/how-to-guides/root_ssh/) and enter this command: ```sh -cat /etc/nixos/userdata/tokens.json +sp-print-api-token ``` -This file will have a similar construction: - -```json -{ - "tokens": [ - { - "token": "token_to_copy", - "name": "device_name", - "date": "date" - } -``` - -Copy the token from the file and paste it in the next window. +Copy the token from the terminal and paste it in the next window.