Currently, the algorithm for wva ssh authorize is the following:
- Grab public key from current development machine
- 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:
- Grab the authorized keys file from the target if it exists
- Add the development machine public key to the list of authorized keys (maybe do a set operation to avoid duplicates)
- Write the modified authorized keys file back to the device