{"id":25376508,"url":"https://github.com/aminelch/ssh_config","last_synced_at":"2026-05-01T19:34:29.635Z","repository":{"id":276864797,"uuid":"930563898","full_name":"aminelch/ssh_config","owner":"aminelch","description":"Ansible role to secure SSH by disabling direct root login. It validates the configuration before restarting the SSH service to prevent accidental loss of access","archived":false,"fork":false,"pushed_at":"2025-02-10T20:53:17.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-09T09:50:15.133Z","etag":null,"topics":["ansible","ansible-role","ssh","ssh-config","sshd-config"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aminelch.png","metadata":{"files":{"readme":"README.md","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-10T20:50:20.000Z","updated_at":"2025-02-10T20:53:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"2e188eb2-308a-4c16-b159-da49b9b7d22e","html_url":"https://github.com/aminelch/ssh_config","commit_stats":null,"previous_names":["aminelch/ssh_config"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aminelch/ssh_config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminelch%2Fssh_config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminelch%2Fssh_config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminelch%2Fssh_config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminelch%2Fssh_config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aminelch","download_url":"https://codeload.github.com/aminelch/ssh_config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aminelch%2Fssh_config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32510808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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":["ansible","ansible-role","ssh","ssh-config","sshd-config"],"created_at":"2025-02-15T04:28:07.562Z","updated_at":"2026-05-01T19:34:29.626Z","avatar_url":"https://github.com/aminelch.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"Ansible Role: SSHD Configuration (`sshd_config_role`)\n=========\n\n## 📌 Description\n\nThis Ansible role secures the **SSHD service** by disabling direct root login (`PermitRootLogin no`).  \nIt also **validates the SSH configuration** before restarting the service to prevent accidental loss of access.\n\n---\n\n## 📦 Requirements\n\n- **Target OS**: Debian 11 / 12 (can be adapted for other distributions)\n- **Ansible ≥ 2.9** installed on the control machine\n- SSH access with sudo privileges","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faminelch%2Fssh_config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faminelch%2Fssh_config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faminelch%2Fssh_config/lists"}