{"id":18825411,"url":"https://github.com/grycap/shutils","last_synced_at":"2025-07-06T08:35:19.246Z","repository":{"id":34370408,"uuid":"38295506","full_name":"grycap/shutils","owner":"grycap","description":null,"archived":false,"fork":false,"pushed_at":"2016-06-16T08:04:36.000Z","size":18,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":9,"default_branch":"master","last_synced_at":"2024-12-30T04:56:01.697Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grycap.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-30T07:52:28.000Z","updated_at":"2020-07-06T22:56:30.000Z","dependencies_parsed_at":"2022-09-14T04:20:38.253Z","dependency_job_id":null,"html_url":"https://github.com/grycap/shutils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grycap%2Fshutils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grycap%2Fshutils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grycap%2Fshutils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grycap%2Fshutils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grycap","download_url":"https://codeload.github.com/grycap/shutils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239763667,"owners_count":19692800,"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","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":"2024-11-08T00:59:23.718Z","updated_at":"2025-02-20T01:45:19.197Z","avatar_url":"https://github.com/grycap.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"0. WHAT IS THIS?\n\nThis is a set of shell utils that solve common problems.\n\nE.g.\n    - runall - runs a command in multiple hosts\n    - scpall - copies a file or a folder to multiple hosts\n    - cacheoutput - runs a command and stores its output as a cache (for a limited time) for future runs. It is designed for long-running commands that are ran frequently (e.g. a slow network connection) and may hang a server\n    - lockdir - is a folder based lock that is designed to prevent multiple concurrent runs as a semaphore. It can be configured to state how multiple runs are allowed\n    - sshblock - is a command to prevent ssh-probe attacks that blacklists those IP addresses that are trying multiple connections (tested in ubuntu-based systems)\n\n1. INSTALL\n\nMost utils are designed to be used as themselves. Only sshblock is designed to act as a resident application\n\n1.1 sshblock\n\tYou should the next line to the file /etc/hosts.deny\n\t\tALL:/etc/sshblock/blacklist\n\tYou must add the next line to the file /etc/hosts.allow\n\t\tsshd:ALL EXCEPT /etc/sshblock/blacklist:spawn ( /usr/local/bin/sshblock -w /etc/sshblock/whitelist -l /var/log/auth -m 5 \u0026 )\n1.2 updateconfig\n\n\tIf you plan to install updateconfig to update config files, you need to install the cpyutils library. Please follow the instructions at https://github.com/grycap/cpyutils\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrycap%2Fshutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrycap%2Fshutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrycap%2Fshutils/lists"}