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

Update services that utilize ssh key authentication #5

Open
mikemimik opened this issue Nov 2, 2018 · 5 comments
Open

Update services that utilize ssh key authentication #5

mikemimik opened this issue Nov 2, 2018 · 5 comments
Assignees

Comments

@mikemimik
Copy link
Owner

mikemimik commented Nov 2, 2018

Relates: #4

When the dotfiles scripts right and an ssh key is generated, it should be uploaded to all services that leverage ssh keys. If generating a new ssh key, distribute it to the list of services below.

Challenges:

  1. making sure all services have programmatic access to add ssh keys
  2. foundational access to the services will need to exist to even upload the ssh keys (provided they have programmatic access to add ssh keys)

Services List:

  • github (version control)
  • bitbucket (version control)
  • digitalocean (infrastructure)
  • hyper (infrastructure)
  • heroku (infrastructure)
  • algo (vpn)
@mikemimik mikemimik self-assigned this Nov 2, 2018
@mikemimik
Copy link
Owner Author

mikemimik commented Nov 2, 2018

Programmatic access of services:

@mikemimik
Copy link
Owner Author

Hyper uses a cli to interact with their service, which doesn't require an ssh key. It uses access_key/secret_key type creds to interface with the service.

@mikemimik
Copy link
Owner Author

Adding a new ssh key to algo isn't possible due to the immutable nature of the droplet. If you want a new ssh key, you need to blow up, and create a new droplet.

@mikemimik
Copy link
Owner Author

Hyper as a service is no longer available. They closed as of Jan 15, 2019

@mikemimik
Copy link
Owner Author

Github API:

reference

The following code snippet should add a new ssh key to a github account.

curl -u "user:pass" --data '{"title":"test-key","key":"'"$(cat ~/.ssh/id_rsa.pub)"'"}' https://api.github.com/user/keys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant