{"id":20961346,"url":"https://github.com/perbu/go-api-with-sshd","last_synced_at":"2026-04-27T13:33:45.599Z","repository":{"id":143067668,"uuid":"566033188","full_name":"perbu/go-api-with-sshd","owner":"perbu","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-23T09:37:30.000Z","size":14,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-30T22:36:05.298Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/perbu.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":"2022-11-14T20:44:30.000Z","updated_at":"2024-01-18T11:56:54.000Z","dependencies_parsed_at":"2023-04-27T16:33:01.406Z","dependency_job_id":null,"html_url":"https://github.com/perbu/go-api-with-sshd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/perbu/go-api-with-sshd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perbu%2Fgo-api-with-sshd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perbu%2Fgo-api-with-sshd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perbu%2Fgo-api-with-sshd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perbu%2Fgo-api-with-sshd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/perbu","download_url":"https://codeload.github.com/perbu/go-api-with-sshd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/perbu%2Fgo-api-with-sshd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32339289,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"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":[],"created_at":"2024-11-19T02:03:26.221Z","updated_at":"2026-04-27T13:33:45.581Z","avatar_url":"https://github.com/perbu.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Golang API with a built-in ssh server\n\nThis is made for a talk about Go and ssh and not really meant to be used. \n\n## Compilation\n\nMake sure to put a file with your authorized keys in the \"backdoor\" directory. It'll be compiled into the application. \nGotta love embedding.\n\n\n## API Usage:\n\nAccess the users:\n```shell\nhttp http://localhost:8080/user/Bob\nhttp http://localhost:8080/user/Peter\nhttp http://localhost:8080/user/Alice\n```\n\nLet's give Bob another pet:\n```shell\nhttp POST http://localhost:8080/user/Bob/addpet name=Fluffy type=Birb\n```\n\n## SSH Usage:\n\n```shell\nssh -p 2222 localhost\n$ ls\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperbu%2Fgo-api-with-sshd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fperbu%2Fgo-api-with-sshd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fperbu%2Fgo-api-with-sshd/lists"}