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.