diff --git a/02_SSH_SETUP.md b/02_SSH_SETUP.md index ac24641..d1920c6 100644 --- a/02_SSH_SETUP.md +++ b/02_SSH_SETUP.md @@ -75,14 +75,10 @@ ssh nebaryshev@ ## 4. Установка SSH-сервера ```bash -sudo apt update -sudo apt upgrade -y -sudo apt install openssh-server -y -``` -Проверяем, что сервис установлен и работает: - -```bash -sudo systemctl status ssh +systemctl status ssh +sudo apt install -y openssh-server +sudo systemctl enable --now ssh +systemctl status ssh ``` ---