{"id":24263146,"url":"https://github.com/atoms/generate-ssh-iap","last_synced_at":"2025-03-04T22:46:24.907Z","repository":{"id":151090342,"uuid":"292238653","full_name":"Atoms/generate-ssh-iap","owner":"Atoms","description":"Helper to generate ssh config for IAP protected instances","archived":false,"fork":false,"pushed_at":"2020-09-02T09:51:37.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"general","last_synced_at":"2023-04-05T06:40:51.742Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/Atoms.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":"2020-09-02T09:28:30.000Z","updated_at":"2024-06-19T10:24:26.406Z","dependencies_parsed_at":"2023-04-14T18:33:19.351Z","dependency_job_id":null,"html_url":"https://github.com/Atoms/generate-ssh-iap","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atoms%2Fgenerate-ssh-iap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atoms%2Fgenerate-ssh-iap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atoms%2Fgenerate-ssh-iap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Atoms%2Fgenerate-ssh-iap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Atoms","download_url":"https://codeload.github.com/Atoms/generate-ssh-iap/tar.gz/refs/heads/general","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241935266,"owners_count":20044826,"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":"2025-01-15T07:26:26.668Z","updated_at":"2025-03-04T22:46:24.889Z","avatar_url":"https://github.com/Atoms.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Generate ssh config for IAP protected hosts\n\nIn order to connect to Google cloud Identity aware proxy protected hosts using ssh you need to generate ssh config.\n\nOriginal usage from Google cloud \n```shell\ngcloud compute ssh vmname\n```\n\nWhen configuration generated by this tool is added in configuration, you can use just\n```\nssh vmname\n```\n\n## Usage:\n```\ngo build\nexport GOOGLE_APPLICATION_CREDENTIALS=/path/to/service/account/credentials.json\n./generate-ssh-iap -p $project -z $zone -v $vmname -u $username\n```\n\nproject - where instance is located\nzone - where instance is located \nvmname - instance name for which to generate\nusername - if your instance username is different then local username\n\nWhen you add ssh config you are able to use Visual studio code with `remote-ssh` extension\n\n\nOriginal howto source:\nhttps://medium.com/@albert.brand/remote-to-a-vm-over-an-iap-tunnel-with-vscode-f9fb54676153","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatoms%2Fgenerate-ssh-iap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fatoms%2Fgenerate-ssh-iap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fatoms%2Fgenerate-ssh-iap/lists"}