CiscoCISCO Network Associate (CCNA) 200-301 Certification·EN·Updated 14 Aug 2026
What is the minimum configuration to allow only SSH version 2 remote management on router R1?
Choose an answer
Tap an option to check your answer.
Correct answer: hostname R1 ip domain name cisco crypto key generate rsa general-keys modulus 1024 username cisco privilege 15 password 0 cisco123 ip ssh version 2 line vty 0 15 transport input ssh login local.
Why this is the answer
The correct answer includes ip domain name cisco, which is essential for generating RSA keys, a prerequisite for SSH. It also specifies ip ssh version 2 to enforce SSHv2 and transport input ssh on the VTY lines to allow only SSH connections. The login local command ensures authentication against the local username database.
The first incorrect option is missing ip domain name, which prevents RSA key generation. The third incorrect option is also missing ip domain name. The fourth incorrect option uses transport input all, which would allow Telnet and other protocols, not just SSH, violating the requirement for "only SSH.