An administrator has generated an RSA SSH key pair to log in to a remote server. After copying the public key and attempting to log in, the administrator sees the following message:
[email protected]: Permission denied (publickey,password)
After seeing the message, the administrator attempts to connect using ssh -v
[email protected] and notices the following debug output:
debug1: send_pubkey_test: no mutual signature algorithm
Which of the following actions should the administrator take first to remediate this issue?
Correct Answer: B
The "no mutual signature algorithm" error means the RSA/SHA-1 key type (ssh-rsa) isn't supported by both client and server. Generating a new key with a modern algorithm (e.g., ssh- keygen -t ecdsa) ensures a mutually supported signature method.