Getting Host SSH keys

Get authorized keys

User flexvdi can log in to any host with SSH using an authorized_keys file that includes the private key of this user in all the hosts.

Format

MethodGET
URL

/hosts/authkeys

Request contentsNone
Successful answerString with concatenated private keys for user flexvdi in each host
Unexpected errorHTTP 500

Get server keys

This API call returns the server SSH certificate for all hosts, so that it can be written to the known_hosts file.


Format

MethodGET
URL

/hosts/serverkeys

Request contentsNone
Successful answerString with concatenated host keys for each host
Unexpected errorHTTP 500