cli
cli copied to clipboard
Feature request: define ssh-keys when rebuild a server
When rebuilding a server via https://docs.hetzner.cloud/#server-actions-rebuild-a-server-from-an-image it should be possible to assign ssh-keys via their ids, similar like in create server:
"ssh_keys": [ "my-ssh-key" ],
The only 2 "workarounds" today are,
- delete and re-create a server or
- delete the old ssh-keys assigned by Hetzner create server and manual replace afterwords with custom tooling.
Thanks for your suggestion! I forwarded it to the corresponding team.
This issue has been marked as stale because it has not had recent activity. The bot will close the issue if no further action occurs.
Since we have to wait for the API to implement this feature, I will close this issue as not planned for now. Once the API supports it, we will add it to the CLI.