Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Go should be able to manage SSH keys #430
Go should be able to maintain and help manage SSH (private) keys which are used to login to remote servers. Usually this is needed for services like GitHub. Especially in the case of private repositories, this will be useful to have.
The UI of the Go Server will first help an admin setup the SSH keys needed. Then, these SSH keys will be propagated to the agents specified.
Possibly, the known_hosts file will also be updated.
referenced this issue
Mar 15, 2015
1 similar comment
+100 ... or [in addition to @worstadmin'a comment], it leads you up the garden path, then bites you in the bum after the initial PoC on your local machine looks good. Stick Go CD and Agents it in the cloud, when you need SSH access to a Git Repo, Go CD doesn't like it. It took a lot of patience, tenacity and a fair amount of luck to get it to work just the once! This lead to a sour taste in my mouth. Please fix immediately guys - Continuous Delivery and Cloud tech go hand-in-hand. I'm certain this has hurt a lot of (potential) users. Can anyone help out and share their experience on making it work reliably (no matter how hacky - it's important for me, and others for sure, to get the thing going!)
Plugins like the github oauth plugin should be to generate/request a deploy key from github as part of the auth process. And then gocd should be able to use/manage this ssh key when fetching from private repos.
It doesn't make sense that the oauth is doing the auth, but then still I have to manually go and generate an deploy key at github, and paste/bake that deploy key somehow into docker, and rebuild/redeploy my agents to use that key. It could just use the github api, generate a deploy key, and save it in gocd for use. Like pretty much most CI/CD servers that integrate with github can do.
GoCD should have some sort of key management system that plugins could use in a standard way for stuff like this. So it wouldn't be limited to github (that was an example). But any plugin can use/manage ssh keys