Question 1180
A RHEL 10 administrator needs to collect a remote SSH server’s PUBLIC HOST keys for a change-review step. This collection is not, by itself, a trusted fingerprint verification. Which tool gathers those keys?
Explanation
Correct Answer
Ssh-keyscan retrieves a server’s advertised host public keys; their fingerprints still require independent trust verification.
Incorrect Answers
Copy-id installs the user’s public authentication key on a remote account, not the server’s host key for review.
Ssh-add loads a local private user identity into an agent, unrelated to collecting a server’s host keys.
Keygen creates local user or host key material; it does not interrogate an existing remote server.






Red Hat Certified System Administrator (RHCSA) (EX200) Practice Tests