CCNA: Cisco Certified Network Associate — Question 417
A network engineer is configuring a switch so that it is remotely reachable via SSH. The engineer has already configured the host name on the router. Which additional command must the engineer configure before entering the command to generate the RSA key?
Answer options
- A. password password
- B. ip ssh authentication-retries 2
- C. ip domain-name domain
- D. crypto key generate rsa modulus 1024
Correct answer: C
Explanation
The correct answer is C, as configuring the domain name is a prerequisite for generating RSA keys for SSH. Options A and B are not required for SSH key generation, and option D is the command to generate the RSA key, which cannot be executed until the domain name is set.