Getting Host SSH keys

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

Method

GET

URL

/hosts/authkeys

Request contents

None

Successful answer

String with concatenated private keys for user flexvdi in each host

Unexpected error

HTTP 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

Method

GET

URL

/hosts/serverkeys

Request contents

None

Successful answer

String with concatenated host keys for each host

Unexpected error

HTTP 500