{"id":13689306,"url":"https://github.com/bergo/hcloud-local-ssh-config","last_synced_at":"2025-07-15T18:39:51.436Z","repository":{"id":64303727,"uuid":"336804361","full_name":"bergo/hcloud-local-ssh-config","owner":"bergo","description":"Generate local ssh config file based on hetzner cloud projects ","archived":false,"fork":false,"pushed_at":"2022-03-15T15:22:08.000Z","size":5,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T12:48:17.256Z","etag":null,"topics":["go","golang","hcloud","hetzner","hetzner-cloud"],"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/bergo.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}},"created_at":"2021-02-07T14:18:01.000Z","updated_at":"2022-03-15T15:08:42.000Z","dependencies_parsed_at":"2023-01-15T10:00:33.673Z","dependency_job_id":null,"html_url":"https://github.com/bergo/hcloud-local-ssh-config","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/bergo/hcloud-local-ssh-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bergo%2Fhcloud-local-ssh-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bergo%2Fhcloud-local-ssh-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bergo%2Fhcloud-local-ssh-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bergo%2Fhcloud-local-ssh-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bergo","download_url":"https://codeload.github.com/bergo/hcloud-local-ssh-config/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bergo%2Fhcloud-local-ssh-config/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259730771,"owners_count":22902906,"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":["go","golang","hcloud","hetzner","hetzner-cloud"],"created_at":"2024-08-02T15:01:42.106Z","updated_at":"2025-06-13T22:36:09.795Z","avatar_url":"https://github.com/bergo.png","language":"Go","funding_links":[],"categories":["golang"],"sub_categories":[],"readme":"# HCLOUD LOCAL SSH CONFIG\n\nThe tools helps to generate a local ssh config file based on your hetzner cloud server projects.\n\nIt's able perform multiple projects and and set default and custom server configuration per project.\n\nThe result configuration content is attached or replaced to a existing config file. It is using generated markers to identify the generated content for a later replacement.\n\n## Install\n\nBuild the tool.\n\n    make\n\nConfigure the projects by setting up the config.json\n\n    cp config.json.example config.json\n\nSet the projects with name and token in config.json\n\n\n## Usage\n\n    ./hcloud-local-ssh-config --help\n    Usage of ./hcloud-local-ssh-config:\n    -config-file string\n            configuration file (default \"config.json\")\n    -marker string\n            hcloud replacement marker (default \"HCLOUD-REPLACE\")\n    -printonly\n            don't write to file print out only\n    -ssh-config-file string\n            ssh configuration file (default \"~/.ssh/config\")\n\n## Result content\n\nThe tool adds or replace all servers as host entries in your ssh config file. It uses the public IPv4 as hostname.\n\nExample output:\n\n    ...\n\n    ##START HCLOUD-REPLACE ##\n\n    Host srv-acme-prod-01\n        User root\n        HostName 10.0.0.1\n\n    Host srv-acme-prod-02\n        User ubuntu\n        HostName 10.0.0.2\n        IdentityFile ~/.ssh/custom_rsa\n\n    ##END HCLOUD-REPLACE ##\n\n    ...\n\n## License\nMIT - Stefan Berger","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbergo%2Fhcloud-local-ssh-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbergo%2Fhcloud-local-ssh-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbergo%2Fhcloud-local-ssh-config/lists"}