Обновить 02_SSH_SETUP.md
This commit is contained in:
+4
-8
@@ -75,14 +75,10 @@ ssh nebaryshev@<VM_IP>
|
||||
## 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
|
||||
```
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user