From 69fbfacc4f0903e771e352a56b598a93da971146 Mon Sep 17 00:00:00 2001 From: Inex Code Date: Fri, 19 Jan 2024 15:24:20 +0300 Subject: [PATCH] fix: SSH key creation on windows --- content/en/docs/How To Guides/root_ssh/_index.md | 4 ++-- content/ru/docs/How To Guides/root_ssh/_index.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/en/docs/How To Guides/root_ssh/_index.md b/content/en/docs/How To Guides/root_ssh/_index.md index be8a642..d16b2e0 100644 --- a/content/en/docs/How To Guides/root_ssh/_index.md +++ b/content/en/docs/How To Guides/root_ssh/_index.md @@ -41,7 +41,7 @@ To access your server's root shell you will have to generate your SSH key and ad 4. Open the Command Prompt. You can do this by pressing **Win+R**, typing `cmd` and pressing **Enter**. 5. Run the following command, replacing `user_name` with your Windows username: ```ps1 - ssh-keygen -t ed25519 -f C:\Users\user_name\.ssh\id_ed25519.pub + ssh-keygen -t ed25519 -f C:\Users\user_name\.ssh\id_ed25519 ``` You will be asked to enter a passphrase. You can leave it empty, but it is recommended to use a passphrase. If you do not want to use a passphrase, press **Enter**. @@ -103,4 +103,4 @@ To access your server's root shell you will have to generate your SSH key and ad 3. Enter the passphrase you entered when generating the SSH key, if you used one. Be careful when using the root shell. If you do not know what you are doing, you can break your server or leak your data. -Responsibility for the consequences of your actions lies with you. Respect the privacy of other users. \ No newline at end of file +Responsibility for the consequences of your actions lies with you. Respect the privacy of other users. diff --git a/content/ru/docs/How To Guides/root_ssh/_index.md b/content/ru/docs/How To Guides/root_ssh/_index.md index f0179c5..0d8b1ce 100644 --- a/content/ru/docs/How To Guides/root_ssh/_index.md +++ b/content/ru/docs/How To Guides/root_ssh/_index.md @@ -42,7 +42,7 @@ categories: ["How-To Guides"] 4. Откройте Командную строку. Это можно сделать, нажав **Win+R**, введя `cmd` и нажав **Enter**. 5. Выполните следующую команду, заменив `user_name` на ваше имя пользователя Windows: ```ps1 - ssh-keygen -t ed25519 -f C:\Users\user_name\.ssh\id_ed25519.pub + ssh-keygen -t ed25519 -f C:\Users\user_name\.ssh\id_ed25519 ``` Вам будет предложено ввести кодовую фразу. Вы можете оставить ее пустой, но рекомендуется использовать кодовую фразу. @@ -67,7 +67,7 @@ categories: ["How-To Guides"] ssh-keygen -t ed25519 -f /data/data/com.termux/files/usr/etc/ssh/ssh_host_ed25519_key ``` Вам будет предложено ввести кодовую фразу. Вы можете оставить ее пустой, но рекомендуется использовать кодовую фразу. - + Если вы не хотите использовать кодовую фразу, нажмите **Enter**. 3. Выведите открытый ключ в терминал и скопируйте его: ```bash