A network administrator is deploying SSHv2 on a newly installed Cisco IOS branch gateway router named BR-GW01. Place the required CLI configuration tasks in the correct logical execution sequence from initial global configuration mode to final line security binding.
- 1Configure a non-default hostname using 'hostname BR-GW01' and set the IP domain name using 'ip domain name enterprise.net'.
- 2Generate general-purpose RSA keys using 'crypto key generate rsa modulus 1024'.
- 3Explicitly enforce SSH version 2 using 'ip ssh version 2'.
- 4Create a local authentication account using 'username admin privilege 15 secret CiscoPass123!'.
- 5Enter VTY line configuration mode, bind local authentication using 'login local', and restrict inbound traffic using 'transport input ssh'.
Answer
The correct operational sequence to configure SSHv2 on Cisco IOS is: 1) Set hostname and domain name to construct the FQDN, 2) Generate RSA keys with at least 768 bits modulus (e.g., 1024 bits), 3) Enforce SSH version 2 globally, 4) Create local user credentials, and 5) Configure line VTY for local login and SSH transport input.
The correct sequence follows the mandatory dependency hierarchy of Cisco IOS SSHv2 configuration. First, an FQDN must exist by defining a non-default host name and IP domain name. Second, an RSA key pair of at least 768 bits (1024 bits in this case) must be generated, which enables the SSH daemon. Third, 'ip ssh version 2' explicitly locks SSH to version 2. Fourth, local user credentials must be created in global configuration mode. Finally, virtual terminal lines (line vty) must be configured with 'login local' to use the local user database and 'transport input ssh' to restrict incoming traffic strictly to SSH.
Step-by-Step Solution
Key Concept
Cisco IOS SSHv2 Configuration Dependencies and Deployment Sequence