{"id":16532129,"url":"https://github.com/ei-grad/docker-ssh-ambassador","last_synced_at":"2025-10-25T21:35:12.449Z","repository":{"id":66875020,"uuid":"42669560","full_name":"ei-grad/docker-ssh-ambassador","owner":"ei-grad","description":null,"archived":false,"fork":false,"pushed_at":"2015-09-21T16:55:07.000Z","size":136,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-03T10:43:40.547Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ei-grad.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-17T17:03:46.000Z","updated_at":"2015-09-17T17:03:56.000Z","dependencies_parsed_at":"2023-03-04T06:55:56.366Z","dependency_job_id":null,"html_url":"https://github.com/ei-grad/docker-ssh-ambassador","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ei-grad/docker-ssh-ambassador","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ei-grad%2Fdocker-ssh-ambassador","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ei-grad%2Fdocker-ssh-ambassador/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ei-grad%2Fdocker-ssh-ambassador/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ei-grad%2Fdocker-ssh-ambassador/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ei-grad","download_url":"https://codeload.github.com/ei-grad/docker-ssh-ambassador/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ei-grad%2Fdocker-ssh-ambassador/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261101619,"owners_count":23109860,"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-10-11T18:11:45.259Z","updated_at":"2025-10-25T21:35:12.359Z","avatar_url":"https://github.com/ei-grad.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"eigrad/ssh-ambassador docker image\n==================================\n\nLightweight ssh client container based on alpine linux image. Suitable to be\nused as docker ambassador container for containers located on different hosts\nconnected over the insecure network.\n\nExample usage\n-------------\n\n```bash\ndocker run -d \\\n  --name mysql_ambassador \\\n  -v /root/.ssh:/keys \\\n  eigrad/ssh-ambassador root@db.example.com 3306 \\\n  -p 3022  # if ssh uses the custom port on server\n\ndocker run -d --link mysql_ambassador:mysql examplecom/wordpress\n```\n\nDefault ```ssh_config``` expects to find the ```id_rsa``` key and the\n```known_hosts``` file in the ```/keys``` directory. Password authentication\nand host key adding are disabled (ensure that the key of the host where you\nwould like to connect is already added to the known_hosts file).\n\nOf course, you can override it by ```-v your_own_ssh_config:/etc/ssh/ssh_config```.\n\nIt is also possible to pass an additional ssh parameters after the service port\nnumber in the command:\n\n```bash\ndocker run -d \\\n  --name mysql_ambassador \\\n  -v /root/.ssh:/keys \\\n  eigrad/ssh-ambassador example.com 12345 \\\n  -o StrictHostKeyChecking=no \\\n  -o UserKnownHostsFile=/dev/null\n```\n\nEnvironment variables\n---------------------\n\n* ```TARGET_HOST``` - host to connect on the remote side (default: localhost)\n\n* ```EXPOSED_PORT``` - port to expose (bind) on the local side (default: equal\n                       to the service port)\n\nLicense and contributing\n------------------------\n\nThis docker container source files could be used under the BSD license. See LICENSE file for details.\n\nIssue reporting and ideas sharing are always [welcome](http://github.com/ei-grad/docker-ssh-ambassador/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fei-grad%2Fdocker-ssh-ambassador","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fei-grad%2Fdocker-ssh-ambassador","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fei-grad%2Fdocker-ssh-ambassador/lists"}