Обновить 02_SSH_SETUP.md
This commit is contained in:
+4
-8
@@ -75,14 +75,10 @@ ssh nebaryshev@<VM_IP>
|
|||||||
## 4. Установка SSH-сервера
|
## 4. Установка SSH-сервера
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
sudo apt update
|
systemctl status ssh
|
||||||
sudo apt upgrade -y
|
sudo apt install -y openssh-server
|
||||||
sudo apt install openssh-server -y
|
sudo systemctl enable --now ssh
|
||||||
```
|
systemctl status ssh
|
||||||
Проверяем, что сервис установлен и работает:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
sudo systemctl status ssh
|
|
||||||
```
|
```
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user