Add SSH monitoring server installer #3

Open
ochenstarik-ui wants to merge 15 commits from agent/server-monitor-installer into main
ochenstarik-ui commented 2026-07-15 06:29:12 +00:00 (Migrated from github.com)

Что изменено

  • добавлен ochenstarik-server-monitor-manager.sh;
  • установщик запрашивает публичный Ed25519-ключ Windows-клиента;
  • создаётся отдельный пользователь ochenstarik-monitor;
  • ключ ограничен через restrict и forced-command только для чтения метрик;
  • поддерживаются install, status и uninstall;
  • дополнительные порты и правила UFW не создаются.

Зачем

Скрипт позволяет установить лёгкую серверную часть на три Ubuntu/Debian-сервера и сразу тестировать Windows-клиент без постоянного демона.

Проверки

  • ShellCheck 0.11.0 — без предупреждений;
  • копия скрипта совпадает с deploy/ в репозитории приложения по SHA-256;
  • публичный ключ Ed25519 проверяется штатным ssh-keygen до настройки пользователя.
## Что изменено - добавлен `ochenstarik-server-monitor-manager.sh`; - установщик запрашивает публичный Ed25519-ключ Windows-клиента; - создаётся отдельный пользователь `ochenstarik-monitor`; - ключ ограничен через `restrict` и forced-command только для чтения метрик; - поддерживаются `install`, `status` и `uninstall`; - дополнительные порты и правила UFW не создаются. ## Зачем Скрипт позволяет установить лёгкую серверную часть на три Ubuntu/Debian-сервера и сразу тестировать Windows-клиент без постоянного демона. ## Проверки - ShellCheck 0.11.0 — без предупреждений; - копия скрипта совпадает с `deploy/` в репозитории приложения по SHA-256; - публичный ключ Ed25519 проверяется штатным `ssh-keygen` до настройки пользователя.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin agent/server-monitor-installer:agent/server-monitor-installer
git checkout agent/server-monitor-installer

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff agent/server-monitor-installer
git checkout agent/server-monitor-installer
git rebase main
git checkout main
git merge --ff-only agent/server-monitor-installer
git checkout agent/server-monitor-installer
git rebase main
git checkout main
git merge --no-ff agent/server-monitor-installer
git checkout main
git merge --squash agent/server-monitor-installer
git checkout main
git merge --ff-only agent/server-monitor-installer
git checkout main
git merge agent/server-monitor-installer
git push origin main
Sign in to join this conversation.
No description provided.