{"id":19331083,"url":"https://github.com/systemli/ansible-role-sshd","last_synced_at":"2025-04-22T23:31:44.333Z","repository":{"id":32190827,"uuid":"35764354","full_name":"systemli/ansible-role-sshd","owner":"systemli","description":"Ansible role to install \u0026 maintain the OpenSSH Daemon","archived":false,"fork":false,"pushed_at":"2025-03-04T18:21:40.000Z","size":178,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-04-02T04:47:25.366Z","etag":null,"topics":["ansible","ansible-role","openssh-daemon","playbook","ssh","sshd"],"latest_commit_sha":null,"homepage":null,"language":"Jinja","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/systemli.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":"2015-05-17T11:57:28.000Z","updated_at":"2025-03-04T18:21:42.000Z","dependencies_parsed_at":"2025-02-10T09:23:59.569Z","dependency_job_id":"25f84c39-498a-414b-a991-d92f6f408e5d","html_url":"https://github.com/systemli/ansible-role-sshd","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemli%2Fansible-role-sshd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemli%2Fansible-role-sshd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemli%2Fansible-role-sshd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/systemli%2Fansible-role-sshd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/systemli","download_url":"https://codeload.github.com/systemli/ansible-role-sshd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250340276,"owners_count":21414513,"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":["ansible","ansible-role","openssh-daemon","playbook","ssh","sshd"],"created_at":"2024-11-10T02:38:59.699Z","updated_at":"2025-04-22T23:31:43.991Z","avatar_url":"https://github.com/systemli.png","language":"Jinja","funding_links":[],"categories":[],"sub_categories":[],"readme":"ansible-sshd\n============\n\n[![Build Status](https://github.com/systemli/ansible-role-sshd/workflows/Integration/badge.svg?branch=main)](https://github.com/systemli/ansible-role-sshd/actions?query=workflow%3AIntegration)\n[![Ansible Galaxy](http://img.shields.io/badge/ansible--galaxy-sshd-blue.svg)](https://galaxy.ansible.com/systemli/sshd/)\n\nRole to install \u0026 maintain the OpenSSH Daemon. Supports centralized authorized key management.\n\nRole Variables\n--------------\n\nThe playbook requires no special configuration, but offers a bunch of options.\n\nDefaults:\n\n    # Set `sshd_port` to a list of ports to listen on.\n    sshd_port:\n      - 22\n\n    sshd_host_keys:\n      - rsa\n      - ecdsa\n      - ed25519\n\n    # Set `sshd_listen_address` to a list of addresses. Defaults to all\n    # IPv4+IPv6 addresses if unset.\n    #sshd_listen_address: []\n    sshd_syslog_facility: AUTH\n    sshd_log_level: INFO\n    sshd_login_grace_time: 120\n    sshd_permit_root_login: \"no\"\n    sshd_strict_modes: \"yes\"\n    sshd_pubkey_authentication: \"yes\"\n    sshd_authorized_keys_file: \"%h/.ssh/authorized_keys\"\n    sshd_password_authentication: \"no\"\n    sshd_allow_users: []\n    sshd_allow_groups: []\n    sshd_ignore_rhosts: \"yes\"\n    sshd_hostbased_authentication: \"no\"\n    sshd_permit_empty_passwords: \"no\"\n    sshd_challenge_response_authentication: \"no\"\n    sshd_x11_forwarding: \"no\"\n    sshd_x11_display_offset: 10\n    sshd_print_motd: \"no\"\n    sshd_print_last_log: \"yes\"\n    sshd_tcp_keep_alive: \"yes\"\n    sshd_max_startups: \"10:30:60\"\n    sshd_client_alive_interval: 3600\n    sshd_client_alive_count_max: 0\n    sshd_use_pam: \"yes\"\n    sshd_use_dns: \"no\"\n    sshd_sftp_chroot: \"no\"\n    sshd_sftp_chroot_group: sftponly\n    sshd_allow_agent_forwarding: \"no\"\n    # manage authorized keys globally and exclusively\n    # when sshd_authorized_keys_file == \"/etc/ssh/authorized_keys/%u\"\n    # sshd_authorized_keys:\n    #   - user: username\n    #     key: ssh_rsa ...\n    #   - user: other_username\n    #     key:\n    #       - key1\n    #       - key2\n    #   - user: git\n    #     src: /var/opt/gitlab/.ssh/authorized_keys\n\n\nDownload\n--------\n\nDownload latest release with `ansible-galaxy`\n\n    ansible-galaxy install systemli.sshd\n\nExample Playbook\n----------------\n\n    - hosts: servers\n      roles:\n         - { role: systemli.sshd }\n\nTesting \u0026 Development\n---------------------\n\nMolecule, Docker, and Github Actions are used for continous testing.\nYou can easily test the role locally with\n\n    molecule test\n\nThis requires Molecule, Vagrant and `python-vagrant` to be installed.\n\nLicense\n-------\n\nGPLv3\n\nAuthor Information\n------------------\n\nhttps://www.systemli.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemli%2Fansible-role-sshd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsystemli%2Fansible-role-sshd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsystemli%2Fansible-role-sshd/lists"}