{"id":26292307,"url":"https://github.com/webdestroya/remote-shell","last_synced_at":"2026-05-01T08:32:29.010Z","repository":{"id":59099346,"uuid":"534517322","full_name":"webdestroya/remote-shell","owner":"webdestroya","description":"Easy remote SSH access to application containers","archived":false,"fork":false,"pushed_at":"2023-03-06T01:50:34.000Z","size":78,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-06T18:42:10.450Z","etag":null,"topics":["aws-ecs","docker","github","golang","ssh"],"latest_commit_sha":null,"homepage":"","language":"Go","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/webdestroya.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-09T05:57:32.000Z","updated_at":"2022-11-03T01:55:34.000Z","dependencies_parsed_at":"2024-06-21T02:03:44.408Z","dependency_job_id":"7e61c088-e897-4089-a188-3b449aad9555","html_url":"https://github.com/webdestroya/remote-shell","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":"0.052631578947368474","last_synced_commit":"bbee0964455219fdf59313357404dba370d94395"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/webdestroya/remote-shell","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdestroya%2Fremote-shell","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdestroya%2Fremote-shell/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdestroya%2Fremote-shell/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdestroya%2Fremote-shell/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webdestroya","download_url":"https://codeload.github.com/webdestroya/remote-shell/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webdestroya%2Fremote-shell/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32490810,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["aws-ecs","docker","github","golang","ssh"],"created_at":"2025-03-15T01:35:22.922Z","updated_at":"2026-05-01T08:32:28.992Z","avatar_url":"https://github.com/webdestroya.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Remote SSH Docker Shell\n\nAllows you to connect to a container running your application. Once you exit the SSH session, the server exits and the container dies.\n\nThis is similar to Heroku's one-off `heroku run bash` command. It is not meant to connect to long running containers for your app, but rather an ephemeral instance of your app's image. This program is very similar to AWS ECS Exec, but without the idle timeout or need to install any extra programs on the client. It's pure SSH.\n\n## Authentication\nThis will pull your public keys from GitHub and use those for SSH authentication.\n\n## Requirements\n* Operating Systems: Linux (both glibc/musl supported)\n* Architectures: AMD64, ARM64\n\n## Configuration\n| Flag  | Description | \n| ------------- | ------------- |\n| `user`  | The GitHub user to pull keys for\u003cbr\u003e**Required unless keys provided via env var** | \n| `port`  | The remote port for the SSH server\u003cbr\u003eDefault: `8722` |\n| `shell`  | The shell command to execute.\u003cbr\u003eDefault: `/bin/bash` or `/bin/sh` |\n| `idletime`  | If the connection is idle for more than X seconds, terminate the connection. Setting to `0` disables.\u003cbr\u003eDefault: `0` (disabled) |\n| `maxtime`  | Maximum duration of a session.\u003cbr\u003eDefault: `12h` |\n| `grace`  | How long to wait for a connection before we just terminate.\u003cbr\u003eDefault: `30m` |\n| `insecure` | If you do not have CA Certificates installed, you can bypass SSL verification.\u003cbr\u003eNot Recommended in production\u003cbr\u003eDefault: `false`\n\n\u003e Note: Any of the arguments can be provided using environment variables by prefixing the flag with `C87RS_` (i.e. `C87RS_PORT`)\n\nYou can also provide a single SSH key via the environment variable: `C87_RSHELL_AUTHORIZED_KEY`. The value is the same format used in a normal authorized key file. (`ssh-rsa XXXXX`)\n\n## Docker Image\n\n\n#### Tagging Scheme\n* `v#` - updated to the latest version of this major release\n* `v#.#` - updated to the latest version of this minor release\n* `v#.#.#` - will not change, is locked to this specific tag.\n* `latest` - updated to the latest release\n\nImages are multi-architecture and are available for the following platforms:\n* `linux/amd64`\n* `linux/arm64`\n\n\n## Usage\n\n* [See an example application](example/)\n\nIn your `Dockerfile`:\n\n```dockerfile\nFROM anything\n# ... \n\n# This can go anywhere in your Dockerfile\nCOPY --from=ghrc.io/webdestroya/remote-shell:latest /cloud87 /cloud87\n```\n\nThen you can launch the container:\n\n```\n$ docker run -p 8722:8722 myapp:latest /cloud87/remote-shell -user your-github-username\n```\n\nAnd connect to it on your client:\n\n```sh\nssh -p 8722 \\\n  -o StrictHostKeyChecking=no \\\n  -o \"UserKnownHostsFile=/dev/null\" \\\n  IP_OF_THE_CONTAINER\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdestroya%2Fremote-shell","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdestroya%2Fremote-shell","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdestroya%2Fremote-shell/lists"}