{"id":30901370,"url":"https://github.com/teplostanski/servercare","last_synced_at":"2025-10-23T22:58:00.152Z","repository":{"id":306436287,"uuid":"1013822262","full_name":"teplostanski/servercare","owner":"teplostanski","description":"Коллекция скриптов для работы с VPS серверами на базе GNU/Linux","archived":false,"fork":false,"pushed_at":"2025-08-28T21:47:19.000Z","size":35,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-09T07:59:17.403Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/teplostanski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-04T14:19:03.000Z","updated_at":"2025-08-28T21:47:22.000Z","dependencies_parsed_at":"2025-07-25T19:27:57.747Z","dependency_job_id":"f897d3de-739f-42c9-9af2-d73f3f3cf0dd","html_url":"https://github.com/teplostanski/servercare","commit_stats":null,"previous_names":["teplostanski/servercare"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/teplostanski/servercare","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teplostanski%2Fservercare","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teplostanski%2Fservercare/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teplostanski%2Fservercare/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teplostanski%2Fservercare/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/teplostanski","download_url":"https://codeload.github.com/teplostanski/servercare/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/teplostanski%2Fservercare/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280706841,"owners_count":26376990,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-23T02:00:06.710Z","response_time":142,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-09-09T06:56:20.279Z","updated_at":"2025-10-23T22:58:00.147Z","avatar_url":"https://github.com/teplostanski.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"## No Sudo Password\n\nСкрипт позволяет включать или отключать выполнение sudo без запроса пароля для выбранных пользователей, создавая или удаляя соответствующие файлы в `/etc/sudoers.d/` через меню.\n\n1. Скачать скрипт\n```bash\nwget -O ./nosudopass.sh https://raw.githubusercontent.com/teplostanski/servercare/main/nosudopass.sh \u0026\u0026 chmod +x ./nosudopass.sh\n```\n2. Запустить\n```bash\nsudo ./nosudopass.sh\n```\n\n## omz-plugins-install.sh\n\nУстановите `oh-my-zsh`, если не установлен\n```bash\nsh -c \"$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)\"\n```\nили\n```bash\nsh -c \"$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)\"\n```\n\nСкачайте и запустите скрипт\n```bash\nwget -O ./omz-plugins-install.sh https://raw.githubusercontent.com/teplostanski/servercare/main/omz-plugins-install.sh \u0026\u0026 chmod +x ./omz-plugins-install.sh \u0026\u0026 ./omz-plugins-install.sh\n```\n\nВ конфиге `.zshrc` добавьте плагины\n```zsh\nplugins=(git zsh-completions zsh-syntax-highlighting zsh-autosuggestions)\n```\n## ssh_connect_monitor.sh\nСкрипт позволяет удобно мониторить SSH соединения\n\n1. Скачать скрипт\n```bash\nwget -O ./ssh_connect_monitor.sh https://raw.githubusercontent.com/teplostanski/servercare/main/ssh_connect_monitor.sh \u0026\u0026 chmod +x ./ssh_connect_monitor.sh\n```\n2. Создать список доверенных IP адресов, для этого необходимо создать файл `white_list_ip.conf` в той же директории что и скрипт\n\nФормат списка: IP_ADDRESS=NAME\n\nПример: \n```bash\n# white_list_ip.conf\n\n101.42.101.42=My_Office\n203.73.111.17=Home_WiFi\n```\n\nИли скачать и отредактировать [`white_list_ip.conf`](./white_list_ip.conf)\n\n```bash\nwget -O ./white_list_ip.conf https://raw.githubusercontent.com/teplostanski/servercare/main/white_list_ip.conf\n```\n\n3. Запустить\n```bash\n./ssh_connect_monitor.sh\n```\n\n**Использование**\n```bash\n./ssh_connect_monitor.sh [1h|today|24h|week|current|realtime]\n  1h       - за последний час\n  today    - за сегодня (по умолчанию)\n  24h      - за последние 24 часа\n  week     - за неделю\n  current  - только активные соединения\n  realtime - мониторинг в реальном времени\n```\n\n## f2b-status.sh\n\nЧитабельная статистика `fail2ban`\n\n1. Скачать\n```bash\nwget -O ./f2b-status.sh https://raw.githubusercontent.com/teplostanski/servercare/main/f2b-status.sh \u0026\u0026 chmod +x ./f2b-status.sh\n```\n2. Запустить\n```bash\n./f2b-status.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteplostanski%2Fservercare","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fteplostanski%2Fservercare","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fteplostanski%2Fservercare/lists"}