{"id":13464758,"url":"https://github.com/rastasheep/ubuntu-sshd","last_synced_at":"2026-02-02T04:42:03.654Z","repository":{"id":18314822,"uuid":"21493673","full_name":"rastasheep/ubuntu-sshd","owner":"rastasheep","description":"Dockerized Ubuntu SSH service","archived":false,"fork":false,"pushed_at":"2021-02-15T03:57:47.000Z","size":18,"stargazers_count":259,"open_issues_count":14,"forks_count":194,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-10-29T17:55:06.081Z","etag":null,"topics":["docker","ssh","ubuntu"],"latest_commit_sha":null,"homepage":"https://registry.hub.docker.com/u/rastasheep/ubuntu-sshd/","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/rastasheep.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-07-04T10:21:39.000Z","updated_at":"2024-08-24T09:54:49.000Z","dependencies_parsed_at":"2022-09-03T23:03:02.398Z","dependency_job_id":null,"html_url":"https://github.com/rastasheep/ubuntu-sshd","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/rastasheep%2Fubuntu-sshd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rastasheep%2Fubuntu-sshd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rastasheep%2Fubuntu-sshd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rastasheep%2Fubuntu-sshd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rastasheep","download_url":"https://codeload.github.com/rastasheep/ubuntu-sshd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245454180,"owners_count":20617988,"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","ssh","ubuntu"],"created_at":"2024-07-31T14:00:49.900Z","updated_at":"2026-02-02T04:42:03.648Z","avatar_url":"https://github.com/rastasheep.png","language":"Shell","funding_links":[],"categories":["Shell","HarmonyOS"],"sub_categories":["Windows Manager"],"readme":"# ubuntu-sshd\n\nDockerized SSH service, built on top of [official Ubuntu](https://registry.hub.docker.com/_/ubuntu/) images.\n\n## Image tags\n\n- rastasheep/ubuntu-sshd:12.04 (precise)\n- rastasheep/ubuntu-sshd:12.10 (quantal)\n- rastasheep/ubuntu-sshd:13.04 (raring)\n- rastasheep/ubuntu-sshd:13.10 (saucy)\n- rastasheep/ubuntu-sshd:14.04 (trusty)\n- rastasheep/ubuntu-sshd:16.04 (xenial)\n- rastasheep/ubuntu-sshd:18.04 (bionic)\n\n## Installed packages\n\nBase:\n\n- [Precise (12.04) minimal](http://packages.ubuntu.com/precise/ubuntu-minimal)\n- [Quantal (12.10) minimal](http://packages.ubuntu.com/quantal/ubuntu-minimal)\n- [Raring (13.04) minimal](http://packages.ubuntu.com/raring/ubuntu-minimal)\n- [Saucy (13.10) minimal](http://packages.ubuntu.com/saucy/ubuntu-minimal)\n- [Trusty (14.04) minimal](http://packages.ubuntu.com/trusty/ubuntu-minimal)\n- [Xenial (16.04) minimal](http://packages.ubuntu.com/xenial/ubuntu-minimal)\n- [Bionic (18.04) minimal](http://packages.ubuntu.com/bionic/ubuntu-minimal)\n\nImage specific:\n- [openssh-server](https://help.ubuntu.com/community/SSH/OpenSSH/Configuring)\n\nConfig:\n\n  - `PermitRootLogin yes`\n  - `UsePAM no`\n  - exposed port 22\n  - default command: `/usr/sbin/sshd -D`\n  - root password: `root`\n\n## Run example\n\n```bash\n$ sudo docker run -d -P --name test_sshd rastasheep/ubuntu-sshd:14.04\n$ sudo docker port test_sshd 22\n  0.0.0.0:49154\n\n$ ssh root@localhost -p 49154\n# The password is `root`\nroot@test_sshd $\n```\n\n## Security\n\nIf you are making the container accessible from the internet you'll probably want to secure it bit.\nYou can do one of the following two things after launching the container:\n\n- Change the root password: `docker exec -ti test_sshd passwd`\n- Don't allow passwords at all, use keys instead:\n\n```bash\n$ docker exec test_sshd passwd -d root\n$ docker cp file_on_host_with_allowed_public_keys test_sshd:/root/.ssh/authorized_keys\n$ docker exec test_sshd chown root:root /root/.ssh/authorized_keys\n```\n\n## Issues\n\nIf you run into any problems with this image, please check (and potentially file new) issues on the [rastasheep/ubuntu-sshd](https://github.com/rastasheep/ubuntu-sshd/issues) repo, which is the source for this image.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frastasheep%2Fubuntu-sshd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frastasheep%2Fubuntu-sshd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frastasheep%2Fubuntu-sshd/lists"}