{"id":17560169,"url":"https://github.com/vd2org/ssh-forward","last_synced_at":"2025-03-29T10:13:46.750Z","repository":{"id":122461017,"uuid":"173493292","full_name":"vd2org/ssh-forward","owner":"vd2org","description":"Ssh-server docker image that only forwards ports.","archived":false,"fork":false,"pushed_at":"2022-10-16T11:02:28.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-04T08:44:18.982Z","etag":null,"topics":["docker","network","portmapping","ssh"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/vd2org.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-02T20:02:41.000Z","updated_at":"2022-02-16T19:18:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"d0a2a43e-fda3-470c-b555-3bbc98685c3f","html_url":"https://github.com/vd2org/ssh-forward","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vd2org%2Fssh-forward","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vd2org%2Fssh-forward/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vd2org%2Fssh-forward/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vd2org%2Fssh-forward/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vd2org","download_url":"https://codeload.github.com/vd2org/ssh-forward/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246168110,"owners_count":20734390,"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","network","portmapping","ssh"],"created_at":"2024-10-21T11:23:56.686Z","updated_at":"2025-03-29T10:13:46.729Z","avatar_url":"https://github.com/vd2org.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ssh-server \n\nThis is ssh-server docker image only for forwarding ports \nfor development, tests and connecting to your docker networks.\n\nFor example, your can make your own **ngrok** or **serveo**. Config your **nginx** or **traefik**\nto forward connections to container _ssh-forward_ and port 8080. \n\n### Supported platforms\n\n* linux/amd64\n* linux/arm64\n\n### Available versions\n\n[Here](https://github.com/users/vd2org/packages/container/package/ssh-forward)\n\n### Running using just docker\n\n```bash\ndocker run -d --name ssh-forward \\\n  -v /root/.ssh/authorized_keys:/home/forward/.ssh/authorized_keys:ro \\\n  -v /etc/ssh/ssh_host_rsa_key:/etc/ssh/ssh_host_rsa_key:ro \\\n  -v /etc/ssh/ssh_host_dsa_key:/etc/ssh/ssh_host_ecdsa_key:ro \\\n  -v /etc/ssh/ssh_host_ed25519_key:/etc/ssh/ssh_host_ed25519_key:ro \\\n  -p 33322:22 ghcr.io/vd2org/ssh-forward:2.0\n```\n### Running using docker compose\n\n```shell\ncurl https://raw.githubusercontent.com/vd2org/ssh-forward/2.0/compose.yml -o compose.yml \ndocker compose up\n```\n\n### Connecting\n\n```bash\nssh -o ServerAliveInterval=3 -o ServerAliveCountMax=1 -R 8080:localhost:8080 -p 33322 -N -T forward@HOST\n```\n\nIn this example the local port `8080` will be mapped to `8080` port on the server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvd2org%2Fssh-forward","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvd2org%2Fssh-forward","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvd2org%2Fssh-forward/lists"}