{"id":18579250,"url":"https://github.com/faust64/docker-sshd","last_synced_at":"2025-05-16T02:30:19.673Z","repository":{"id":76091469,"uuid":"227943185","full_name":"faust64/docker-sshd","owner":"faust64","description":"OpenSSH for OpenShift","archived":false,"fork":false,"pushed_at":"2019-12-14T00:18:12.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-17T15:51:49.720Z","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/faust64.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,"publiccode":null,"codemeta":null}},"created_at":"2019-12-14T00:18:00.000Z","updated_at":"2019-12-14T00:18:14.000Z","dependencies_parsed_at":"2023-05-22T11:00:09.904Z","dependency_job_id":null,"html_url":"https://github.com/faust64/docker-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/faust64%2Fdocker-sshd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faust64%2Fdocker-sshd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faust64%2Fdocker-sshd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/faust64%2Fdocker-sshd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/faust64","download_url":"https://codeload.github.com/faust64/docker-sshd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254455601,"owners_count":22074014,"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-06T23:39:38.223Z","updated_at":"2025-05-16T02:30:19.622Z","avatar_url":"https://github.com/faust64.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SSHD\n\nImage that can be run alongside any container, offering with SSH and Rsync\naccess to part of its filesystem, for backup purposes.\n\nBuild with:\n\n```\n$ make build\n```\n\nStart Demo in OpenShift:\n\n```\n$ make ocdemo\n```\n\nCleanup OpenShift assets:\n\n```\n$ make ocpurge\n```\n\n\nEnvironment variables and volumes\n----------------------------------\n\nThe image recognizes the following environment variables that you can set during\ninitialization by passing `-e VAR=VALUE` to the Docker `run` command.\n\n|    Variable name     |    Description                  | Default                 |\n| :------------------- | ------------------------------- | ----------------------- |\n|  `HOSTKEY_SOURCE`    | SSHD Host Keys Source Directory | `/etc/ssh`              |\n|  `HOSTKEY_TARGET`    | SSHD Host Keys Target Directory | `/var/backup/sshd`      |\n|  `MY_HOME`           | SSHD Home Directory             | `/home/backup`          |\n|  `SSH_USERNAME`      | SSHD Allowed Username           | `backup`                |\n|  `SSHD_PORT`         | SSHD Port                       | `2222`                  |\n|  `SSHD_TMPDIR`       | SSHD Temp Directory             | `/var/backup/tmp`       |\n\nYou can also set the following mount points by passing the `-v /host:/container`\nflag to Docker.\n\n|  Volume mount point  | Description                     |\n| :------------------- | ------------------------------- |\n|  `/.ssh`             | SSHD Authorized Keys            |\n\n\nYou may connect with username `backup`, on port `${SSHD_PORT}`, using the\nprivate key matching the public key installed as `/.ssh/id_rsa.pub`.\n\nThis image is meant to be used alongside any container we may need ssh or\nrsync access, backing up parts of its filesystem. Setup your DeploymentConfig\nsharing proper directories and write your backup scripts according to those\npaths you would have defined.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaust64%2Fdocker-sshd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffaust64%2Fdocker-sshd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffaust64%2Fdocker-sshd/lists"}