{"id":21998370,"url":"https://github.com/simonswine/docker-dropbear","last_synced_at":"2025-04-30T21:34:12.224Z","repository":{"id":23586509,"uuid":"26954880","full_name":"simonswine/docker-dropbear","owner":"simonswine","description":"Dropbear in an Docker container","archived":false,"fork":false,"pushed_at":"2014-11-21T10:33:37.000Z","size":116,"stargazers_count":8,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-27T00:07:06.983Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simonswine.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}},"created_at":"2014-11-21T09:58:27.000Z","updated_at":"2021-12-27T06:40:46.000Z","dependencies_parsed_at":"2022-08-22T03:10:14.539Z","dependency_job_id":null,"html_url":"https://github.com/simonswine/docker-dropbear","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/simonswine%2Fdocker-dropbear","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonswine%2Fdocker-dropbear/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonswine%2Fdocker-dropbear/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simonswine%2Fdocker-dropbear/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simonswine","download_url":"https://codeload.github.com/simonswine/docker-dropbear/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251785629,"owners_count":21643515,"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-29T22:21:29.701Z","updated_at":"2025-04-30T21:34:12.173Z","avatar_url":"https://github.com/simonswine.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"##Docker image **simonswine/dropbear**\n\nMinimal docker image with SSH daemon dropbear.\n\n* Creates host keys if non existing \n* Could be used for restricted root ssh access \n\n###Example usage\n\n#### Container only no volumes\n\n```\n# Fetch image\ndocker fetch simonswine/dropbear\n\n# Start a container and map to host port 22001 \ndocker run -d -p 22001:22 simonswine/dropbear\n1f4d54c419e3ece40ed4a2f9c0f46702d20c8940413f87d96e6065e51a430fbb\n\n# Add a public key\ndocker exec -t -i 1f4d54 /bin/bash\nroot@1f4d54c419e3:/# mkdir -p /root/.ssh \u0026\u0026 echo \"ssh-rsa [...]\" \u003e /root/.ssh/authorized_keys\n```\n\n#### Persistent volumes \n```\n# Fetch image\ndocker fetch simonswine/dropbear\n\n# Start a container and map to host port 22001 \ndocker run -d -p 22001:22 \\\n   -v /_container1/dropbear:/etc/dropbear \\\n   -v /_container1/ssh:/root/.ssh \\\n   simonswine/dropbear\n\n# Add a public key\necho \"ssh-rsa [...]\" \u003e /_container1/ssh/authorized_keys\n```\n### Example with capistrano\n* https://www.simon.im/netz/2014/11/secure-capistrano-deployment-with-root-rights\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonswine%2Fdocker-dropbear","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimonswine%2Fdocker-dropbear","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimonswine%2Fdocker-dropbear/lists"}