{"id":47184143,"url":"https://github.com/testainers/sshd-container","last_synced_at":"2026-03-13T08:30:45.038Z","repository":{"id":145303547,"uuid":"613045614","full_name":"testainers/sshd-container","owner":"testainers","description":"Small container image to test ssh connections.","archived":false,"fork":false,"pushed_at":"2024-04-23T18:33:41.000Z","size":65,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-23T20:29:03.957Z","etag":null,"topics":["docker","docker-container","docker-image","hacktoberfest","podman","podman-container","podman-image","ssh","sshd","test","test-automation","testainers"],"latest_commit_sha":null,"homepage":"https://testainers.com","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/testainers.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-03-12T18:19:12.000Z","updated_at":"2024-04-23T20:28:34.000Z","dependencies_parsed_at":"2024-04-23T19:48:02.187Z","dependency_job_id":"21bde996-7272-4cea-b369-affd37efa5ff","html_url":"https://github.com/testainers/sshd-container","commit_stats":null,"previous_names":["testainers/sshd-container"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/testainers/sshd-container","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testainers%2Fsshd-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testainers%2Fsshd-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testainers%2Fsshd-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testainers%2Fsshd-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/testainers","download_url":"https://codeload.github.com/testainers/sshd-container/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testainers%2Fsshd-container/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30462208,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T06:34:02.089Z","status":"ssl_error","status_checked_at":"2026-03-13T06:33:49.182Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["docker","docker-container","docker-image","hacktoberfest","podman","podman-container","podman-image","ssh","sshd","test","test-automation","testainers"],"created_at":"2026-03-13T08:30:44.389Z","updated_at":"2026-03-13T08:30:45.006Z","avatar_url":"https://github.com/testainers.png","language":"Shell","readme":"\u003ch1\u003e\n\u003cimg src=\"helpers/testainers-100.png\" alt=\"Testainers\" title=\"Testainers\"\u003e\nsshd-container\n\u003c/h1\u003e\n\n[![Build With Love](https://img.shields.io/badge/%20built%20with-%20%E2%9D%A4-ff69b4.svg)](https://github.com/testainers/sshd-container/stargazers)\n[![Version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fapi.github.com%2Frepos%2Ftestainers%2Fsshd-container%2Freleases%2Flatest\u0026query=%24.name\u0026label=version\u0026color=orange)](https://hub.docker.com/r/testainers/sshd-container/tags)\n[![Licence](https://img.shields.io/github/license/testainers/sshd-container?color=blue)](https://github.com/testainers/sshd-container/blob/main/LICENCE)\n[![Build](https://img.shields.io/github/actions/workflow/status/testainers/sshd-container/main.yml?branch=main)](https://github.com/testainers/sshd-container/releases/latest)\n\nThe small container image is designed specifically for testing SSH connections.\n\nIt serves as a lightweight and efficient tool to verify and troubleshoot SSH\nconnectivity in various scenarios. With its compact size, the container can be\neasily deployed and run on different systems or platforms without consuming\nexcessive resources.\n\nThis container image encapsulates the necessary components and configurations to\nestablish SSH connections, making it convenient for developers, system\nadministrators, and network engineers who frequently work with SSH. It includes\na minimal operating system with essential SSH client libraries and utilities,\nensuring that only the essential components are present, thus reducing the image\nsize and eliminating unnecessary overhead.\n\nThis container image can be easily customized and extended to meet specific\nrequirements. Users can add additional tools or libraries as needed, ensuring\nthat the container is tailored to their particular use cases. This flexibility\nallows for seamless integration into existing development workflows and\nfacilitates the automation of SSH connection testing within CI/CD pipelines or\nother automated processes.\n\nOverall, the small container image for testing SSH connections offers a\npractical and resource-efficient solution for verifying SSH connectivity. Its\nsimplicity, portability, and extensibility make it an invaluable asset for\nanyone working with SSH and looking to streamline the process of testing and\ntroubleshooting SSH connections.\n\n## Funding\n\nYour contribution will help drive the development of quality tools for the\nFlutter and Dart developer community. Any amount will be appreciated.\nThank you for your continued support!\n\n[![BuyMeACoffee](https://www.buymeacoffee.com/assets/img/guidelines/download-assets-sm-2.svg)](https://www.buymeacoffee.com/edufolly)\n\n## PIX\n\nSua contribuição ajudará a impulsionar o desenvolvimento de ferramentas de\npara a co munidade de desenvolvedores Flutter e Dart. Qualquer quantia será\napreciada.\nObrigado pelo seu apoio contínuo!\n\n[![PIX](helpers/pix.png)](https://nubank.com.br/pagar/2bt2q/RBr4Szfuwr)\n\n---\n\n## Environment Variables\n\n| Variable           | Description                                 | Default |\n|--------------------|---------------------------------------------|---------|\n| SSHD_USER          | User to connect                             | root    |\n| SSHD_PASSWORD      | Password for the user                       | root    |\n| SSHD_USER_FILE     | File (or secret) with user to connect       | ------- |\n| SSHD_PASSWORD_FILE | File (or secret) with password for the user | ------- |\n\n## How to Use\n\n```shell\ndocker run --rm --name sshd -e \"SSHD_USER=test\" -e \"SSHD_PASSWORD=test\" -p 22022:22 -d testainers/sshd-container:latest\n```\n\n## How to Connect\n\n```shell\nssh -p 22022 -o PubkeyAuthentication=no -o UserKnownHostsFile=/dev/null test@127.0.0.1\n```\n\n---\n\n## Build\n\n```shell\ndocker build . --no-cache -t sshd-container\n```\n\n## Run\n\n```shell\ndocker run --rm --name sshd -e \"SSHD_USER=test\" -e \"SSHD_PASSWORD=test\" -p 22022:22 -d sshd-container\n```\n","funding_links":["https://www.buymeacoffee.com/edufolly"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestainers%2Fsshd-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftestainers%2Fsshd-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestainers%2Fsshd-container/lists"}