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

ssh: cli: Add support for uploading multiple keys to target #4

Open
posborne opened this issue Jul 1, 2015 · 0 comments
Open

ssh: cli: Add support for uploading multiple keys to target #4

posborne opened this issue Jul 1, 2015 · 0 comments

Comments

@posborne
Copy link
Contributor

posborne commented Jul 1, 2015

Currently, the algorithm for wva ssh authorize is the following:

  1. Grab public key from current development machine
  2. Write a authorized keys file to the WVA with the public key for the development machine

If there are multiple developers using a single device, this can be annoying as each developer needs to keep re-authorizing. The proposed change would be to do the following:

  1. Grab the authorized keys file from the target if it exists
  2. Add the development machine public key to the list of authorized keys (maybe do a set operation to avoid duplicates)
  3. Write the modified authorized keys file back to the device
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

No branches or pull requests

1 participant