fix: wrong openssh package

This commit is contained in:
Inex Code 2024-09-04 18:19:14 +03:00
parent ea9de805d0
commit c27ec8ca8c
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@ To access your server's root shell you will have to generate your SSH key and ad
1. Open Termux. 1. Open Termux.
2. Run the following command: 2. Run the following command:
```bash ```bash
apt update -y && apt upgrade -y && apt install open-ssh -y && apt update -y && apt upgrade -y && apt install openssh -y &&
ssh-keygen -t ed25519 -f /data/data/com.termux/files/usr/etc/ssh/ssh_host_ed25519_key ssh-keygen -t ed25519 -f /data/data/com.termux/files/usr/etc/ssh/ssh_host_ed25519_key
``` ```
You will be asked to enter a passphrase. You can leave it empty, but it is recommended to use a passphrase. You will be asked to enter a passphrase. You can leave it empty, but it is recommended to use a passphrase.

View file

@ -62,7 +62,7 @@ description: >
1. Откройте Termux. 1. Откройте Termux.
2. Выполните следующую команду: 2. Выполните следующую команду:
```bash ```bash
apt update -y && apt upgrade -y && apt install open-ssh -y && apt update -y && apt upgrade -y && apt install openssh -y &&
ssh-keygen -t ed25519 -f /data/data/com.termux/files/usr/etc/ssh/ssh_host_ed25519_key ssh-keygen -t ed25519 -f /data/data/com.termux/files/usr/etc/ssh/ssh_host_ed25519_key
``` ```
Вам будет предложено ввести кодовую фразу. Вы можете оставить ее пустой, но рекомендуется использовать кодовую фразу. Вам будет предложено ввести кодовую фразу. Вы можете оставить ее пустой, но рекомендуется использовать кодовую фразу.