Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change SSH Key Pair (issue #61) #781

Merged
merged 1 commit into from
Jan 14, 2015
Merged

Conversation

bradrydzewski
Copy link

This is a work-in-progress. The functionality is there but it is not adequately tested (the code compiles, that is as far as I've gotten). It is the last piece of functionality required in order to close out #61

This allows you to change the SSH key used to clone a private repository via the command line utility. The specific command looks like this: drone set-key github.com/foo/bar ~/.ssh/id_rsa

There are two arguments that should be provided. First, you provide the full canonical name of the repository. Second, you provide the path to the private key. This assumes that a public key exists at the same path with .pub extension. Both will be uploaded to Drone and replace the existing key pair. Note that the keypair will not be updated in GitHub, GitLab, etc.

bradrydzewski added a commit that referenced this pull request Jan 14, 2015
@bradrydzewski bradrydzewski merged commit 83d1d6a into harness:master Jan 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant