{"id":21542408,"url":"https://github.com/kool-dev/docker-sshd","last_synced_at":"2025-06-13T12:04:50.474Z","repository":{"id":55628158,"uuid":"300694194","full_name":"kool-dev/docker-sshd","owner":"kool-dev","description":"Docker Image for sshd","archived":false,"fork":false,"pushed_at":"2020-12-17T02:40:28.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T23:51:37.447Z","etag":null,"topics":["docker","hacktoberfest","kool","kool-dev","kooldev","sshd"],"latest_commit_sha":null,"homepage":"","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/kool-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-02T17:49:22.000Z","updated_at":"2020-12-17T02:40:30.000Z","dependencies_parsed_at":"2022-08-15T04:50:42.402Z","dependency_job_id":null,"html_url":"https://github.com/kool-dev/docker-sshd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kool-dev/docker-sshd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kool-dev%2Fdocker-sshd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kool-dev%2Fdocker-sshd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kool-dev%2Fdocker-sshd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kool-dev%2Fdocker-sshd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kool-dev","download_url":"https://codeload.github.com/kool-dev/docker-sshd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kool-dev%2Fdocker-sshd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259642249,"owners_count":22888982,"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":["docker","hacktoberfest","kool","kool-dev","kooldev","sshd"],"created_at":"2024-11-24T05:09:32.298Z","updated_at":"2025-06-13T12:04:50.418Z","avatar_url":"https://github.com/kool-dev.png","language":"Shell","readme":"# kool-dev/docker-sshd\n\n![CI/CD](https://github.com/kool-dev/docker-sshd/workflows/CI/CD/badge.svg)\n\nVery simple docker image for running a SSH Server based on Alpine.\n\nUsername will be created with suffix that end the env `AUTHORIZED_KEYS_` converted to lowercase, or by suffix that file name `authorized_keys_` \n\n* Adding and env variable `AUTHORIZED_KEYS_USERNAME`\n* Mounting a file at `/authorized_keys_username`\n\n## Usage\n\n### Env Variable\n\n```bash\nAUTHORIZED_KEYS=$(cat authorized_keys.txt)\n\ndocker run --rm --init -p22:22 -e AUTHORIZED_KEYS_USER1=${AUTHORIZED_KEYS} -e AUTHORIZED_KEYS_USER2=${AUTHORIZED_KEYS} kooldev/sshd\n```\n\nThis example will create `/home/retool/.ssh/authorized_keys` and `/home/kool/.ssh/authorized_keys`\n\n### Mount File\n\n```bash\ndocker run --rm --init -p22:22 -v \"$(pwd)/authorized_keys_user1:/authorized_keys_user1\" -v \"$(pwd)/authorized_keys_user2:/authorized_keys_user2\" kooldev/sshd\n```\n\nThat's it, now you can ssh in:\n\n```\nssh kool@localhost\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkool-dev%2Fdocker-sshd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkool-dev%2Fdocker-sshd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkool-dev%2Fdocker-sshd/lists"}