Обновить Настройка Reverse SSH

An-J 2026-03-05 06:47:12 +03:00
parent 5390427333
commit 62a10b63bf
1 changed files with 9 additions and 7 deletions

@ -38,7 +38,10 @@ EDGE_HOSTNAME='g-box-04ba2796'; EDGE_PUBKEY_LINE='ssh-ed25519 AAAA... g-box-04ba
# 3️⃣ EDGE — reverse tunnel запускается автоматом. # 3️⃣ EDGE — reverse tunnel запускается автоматом.
В скрипте выполняется строка: В скрипте выполняется строка:
```systemctl enable --now iomatex-rt-cockpit.service
```
systemctl enable --now iomatex-rt-cockpit.service
``` ```
Проверить статус Проверить статус
@ -46,19 +49,18 @@ EDGE_HOSTNAME='g-box-04ba2796'; EDGE_PUBKEY_LINE='ssh-ed25519 AAAA... g-box-04ba
systemctl status iomatex-rt-cockpit systemctl status iomatex-rt-cockpit
``` ```
Проверить статус:
```bash
systemctl status iomatex-remote --no-pager -l
```
Ожидается: Ожидается:
``` ```
Active: active (running) Active: active (running)
```
Проверить на VPS:
``` ```
sudo ss -lntp | grep 22775 sudo ss -lntp | grep 22775
```
--- ---
# 4️⃣ Локальная машина (Windows) — Открыть SSH туннель к VPS # 4️⃣ Локальная машина (Windows) — Открыть SSH туннель к VPS