Skip to main content

List the authorized SSH keys of a user

GET 

/api/node/:hostname/user/:name/sshkey

Reads ~/.ssh/authorized_keys of the user through gohai, with the type, the SHA256 fingerprint, the comment and the options of each key. A user with no file has no keys. A user that the host does not have is not found.

Request​

Responses​

Each target host's result.