mirror of
https://github.com/andrey271192/Keenetic_SSH.git
synced 2026-09-20 14:41:58 +00:00
Add UI preview image, scrub personal data from README
Made-with: Cursor
This commit is contained in:
22
README.md
22
README.md
@@ -4,6 +4,8 @@
|
|||||||
|
|
||||||
Логика SSH и команд взята из [keenetic-unified](https://github.com/andrey271192/keenetic-unified).
|
Логика SSH и команд взята из [keenetic-unified](https://github.com/andrey271192/keenetic-unified).
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Возможности
|
## Возможности
|
||||||
@@ -32,14 +34,14 @@ bash install.sh
|
|||||||
nano .env
|
nano .env
|
||||||
```
|
```
|
||||||
|
|
||||||
Пример `.env`:
|
Пример `.env` (подставь свои значения из [@BotFather](https://t.me/BotFather) и свой числовой chat id):
|
||||||
|
|
||||||
```env
|
```env
|
||||||
TELEGRAM_TOKEN=123456:ABC...
|
TELEGRAM_TOKEN=000000000:AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||||
TELEGRAM_CHAT_ID=371010834
|
TELEGRAM_CHAT_ID=000000000
|
||||||
|
|
||||||
SSH_USER=root
|
SSH_USER=root
|
||||||
SSH_PASS=keenetic
|
SSH_PASS=your_router_password
|
||||||
```
|
```
|
||||||
|
|
||||||
Перезапуск после правок `.env`:
|
Перезапуск после правок `.env`:
|
||||||
@@ -58,21 +60,21 @@ journalctl -u keenetic-ssh -f
|
|||||||
|
|
||||||
## Роутеры
|
## Роутеры
|
||||||
|
|
||||||
Добавить из Telegram:
|
Добавить из Telegram (имя, IP и при необходимости логин/пароль SSH):
|
||||||
|
|
||||||
```
|
```
|
||||||
/add andrey 212.118.42.105 root keenetic
|
/add office1 192.168.1.1 root your_password
|
||||||
```
|
```
|
||||||
|
|
||||||
Или отредактировать `data/routers.json` на сервере:
|
Или отредактировать `data/routers.json` на сервере:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"andrey": {
|
"office1": {
|
||||||
"ip": "192.168.88.1",
|
"ip": "192.168.1.1",
|
||||||
"user": "root",
|
"user": "root",
|
||||||
"password": "keenetic",
|
"password": "your_password",
|
||||||
"display_name": "Дом Andrey",
|
"display_name": "Офис 1",
|
||||||
"web_url": ""
|
"web_url": ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
docs/preview.png
Normal file
BIN
docs/preview.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 955 KiB |
Reference in New Issue
Block a user