{"id":21864266,"url":"https://github.com/lightsing/ssh-container","last_synced_at":"2026-05-01T00:31:55.085Z","repository":{"id":137543169,"uuid":"365907340","full_name":"lightsing/ssh-container","owner":"lightsing","description":"a login-shell replacement to allocate container for user.","archived":false,"fork":false,"pushed_at":"2021-09-09T05:11:49.000Z","size":54,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-09T22:22:41.873Z","etag":null,"topics":["docker","kubernetes","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lightsing.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":"2021-05-10T03:30:49.000Z","updated_at":"2021-09-09T05:11:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"4d140abe-6e80-421b-adf9-1d75ff23a0b0","html_url":"https://github.com/lightsing/ssh-container","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lightsing/ssh-container","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsing%2Fssh-container","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsing%2Fssh-container/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsing%2Fssh-container/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsing%2Fssh-container/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lightsing","download_url":"https://codeload.github.com/lightsing/ssh-container/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lightsing%2Fssh-container/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32481553,"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":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: 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","kubernetes","rust"],"created_at":"2024-11-28T04:08:23.488Z","updated_at":"2026-05-01T00:31:55.065Z","avatar_url":"https://github.com/lightsing.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ssh-container\n\nThis is a login-shell replacement to allocate container for user.\n\n## Usage\n\nMake sure you have a linux server, rust toolchain, a proper docker installation.\n\nExecute `make install` to compile and install to `/opt/ssh-container`.\n\nCreate a new user with login shell of `/opt/ssh-container`. Add the user to `docker` group.\n\nNow, you can log in with the user, and it will start a `ubunt:focal` container.\nThe container will be deleted before the ssh session is going to close.\n\nCurrently, it works with docker, and it's only a PoC (proof of concept).\nIt does not limit the container resource, be careful there will be a potential DoS vulnerability for open access.\n\n## TODO\n\n- [ ] Kubernetes support (then it works with cluster)\n- [ ] Admin/Configurable Login Controller (Auth/Image selection)\n- [ ] Optional persistent container (Require auth capability)\n- [ ] scp support (scp from user into container)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightsing%2Fssh-container","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flightsing%2Fssh-container","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flightsing%2Fssh-container/lists"}