{"id":15648162,"url":"https://github.com/noracodes/autoshutdown","last_synced_at":"2025-06-22T22:39:40.590Z","repository":{"id":84925597,"uuid":"110716728","full_name":"NoraCodes/autoshutdown","owner":"NoraCodes","description":"A script to turn off servers.","archived":false,"fork":false,"pushed_at":"2017-11-16T16:58:24.000Z","size":14,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T01:25:04.129Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/NoraCodes.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}},"created_at":"2017-11-14T16:36:53.000Z","updated_at":"2018-01-11T08:46:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"984d576e-1cb3-4467-8647-b9fb0525d58b","html_url":"https://github.com/NoraCodes/autoshutdown","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/NoraCodes%2Fautoshutdown","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoraCodes%2Fautoshutdown/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoraCodes%2Fautoshutdown/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NoraCodes%2Fautoshutdown/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NoraCodes","download_url":"https://codeload.github.com/NoraCodes/autoshutdown/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246258885,"owners_count":20748573,"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-10-03T12:23:48.026Z","updated_at":"2025-03-29T23:28:58.654Z","avatar_url":"https://github.com/NoraCodes.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# autoshutdown\nA script to turn off servers.\n\nRequires Python \u003e= 3.4. Assumes a virtualenv with all packages in `requirements.txt` installed.\n\n\n## autoshutdown.py\n\n`autoshutdown.py` asks for a list of POSIX SSH server names, each on a new line, and an RSA private key.\n\nSample servers file:\n\n```\n# This is a comment\ntest.your.domain.net\n192.168.0.1\n```\n\nYou can also provide the argument \"dry\", which will do everything the regular script does except for actually running `shutdown -h now` on the servers once connected. You should always try this first:\n\n```\n./autoshutdown.py servers.txt ~/.ssh/id_rsa dry\n```\n\n## autoshutdown_windows.py\n\n`autoshutdown_windows.py` asks for a list of Windows SMB RPC server names, each on a new line, with username and password, encrypted with encdec.\n\nSample file:\n\n```\n# This is a comment\ntest.your.domain.net admin lmaoThisis_a_bad_Password\n192.168.0.6 leo userpassword45565\n```\n\nThen, encrypt this file with `encdec`:\n\n```\n./encdec.py enc servers.txt\n```\n\nFinally, run the script (try dry mode first):\n\n```\n./autoshutdown_windows.py servers.txt dry\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoracodes%2Fautoshutdown","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoracodes%2Fautoshutdown","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoracodes%2Fautoshutdown/lists"}