A network administrator is performing an initial configuration of SSH version 2 on a new branch router (Branch-R1). Place the required configuration steps in the correct sequential order from first to last.
- 1Configure a unique, non-default device hostname using the hostname command.
- 2Define an IP domain name for the router using the ip domain-name command.
- 3Generate an RSA key pair with a modulus size of 1024 bits or higher using the crypto key generate rsa general-keys command.
- 4Restrict line vty access to SSH using transport input ssh and enable local database authentication using login local.
Cevap
The correct sequence for configuring SSH v2 on a Cisco IOS device is: first, set a non-default hostname; second, configure an IP domain name; third, generate the RSA key pair (minimum 768 bits for SSH v2); and fourth, configure line VTY settings to accept SSH input and require local login authentication.
SSH configuration in Cisco IOS follows a strict dependency sequence. First, a non-default hostname and an IP domain name must be defined so that the system has a valid Fully Qualified Domain Name (FQDN). Second, generating an RSA key pair using the FQDN automatically activates the SSH service. Finally, line VTY settings must be configured to bind incoming management traffic to SSH and enforce local login credentials.
Adım Adım Çözüm
Anahtar Kavram
Cisco IOS SSH Configuration Prerequisites and Sequence