Which router R1 configuration sequence generates an RSA key pair for SSH management access?
Choose an answer
Tap an option to check your answer.
Correct answer: R1#enable R1#configure terminal R1(config)#ip domain-name cisco.com R1(config)#crypto key generate rsa modulus 1024.
Why this is the answer
To generate an RSA key pair for SSH, you must first define a domain name using ip domain-name. Then, the command crypto key generate rsa is used, followed by modulus and the desired key size. The modulus 1024 specifies a 1024-bit RSA key, which is a common and acceptable size for many SSH implementations. The incorrect options use ec instead of rsa, which generates an Elliptic Curve Cryptography (ECC) key, not an RSA key. While ECC is also used for SSH, the question specifically asks for an RSA key pair. Another incorrect option uses crypto key encrypt rsa name myKey, which is not the correct command for generating a key pair; it's syntactically incorrect for this purpose.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed