Soru

Zorluk: OrtaSSH Secure Remote Access Configuration and Verification

A network engineer is troubleshooting secure remote management access on an enterprise router named EDGE-RTR-01. The router is currently permitting remote sessions, but output verification shows that SSH version 1.5 is active instead of SSH version 2.

The engineer gathers the following CLI output from EDGE-RTR-01:

text
EDGE-RTR-01# show ip ssh
SSH Enabled - version 1.5
Authentication timeout: 120 secs; Authentication retries: 3
EDGE-RTR-01# show running-config | include crypto key
crypto key generate rsa modulus 512

Which configuration change must be performed on EDGE-RTR-01 to support and enforce SSH version 2?

  1. Re-generate the RSA key pair using a modulus size of at least 768 bits and execute the command ip ssh version 2.Cevap
  2. B
    Configure the line vty configuration mode with the command transport input ssh v2.
  3. C
    Configure a domain name using the ip domain-name command and restart the SSH process using service ssh restart.
  4. D
    Add the overload keyword to the crypto key generate rsa command to force 2048-bit encryption.

Cevap

Re-generate the RSA key pair using a modulus size of at least 768 bits and execute the command ip ssh version 2.
In Cisco IOS, SSH version 2 requires an RSA key pair with a minimum length of 768 bits. When a key size under 768 bits (such as 512 bits) is generated, Cisco IOS defaults to SSH version 1.5. Re-generating the key with a length of at least 768 bits (or 1024/2048 bits) and issuing 'ip ssh version 2' enables and enforces SSHv2.

Adım Adım Çözüm

1
Analyze the CLI output from 'show ip ssh' and 'show running-config'.
The current RSA key length is 512 bits, causing the router to operate in SSH version 1.5 mode.
Cisco IOS requires a minimum RSA key modulus length of 768 bits to enable SSHv2 capabilities.
2
Determine the necessary commands to upgrade to SSHv2.
Generating a new RSA key pair with a modulus of 768 bits or higher (typically 1024 or 2048 bits) allows SSHv2 operation. Executing 'ip ssh version 2' explicitly enforces SSHv2.
A 512-bit key size is cryptographically insufficient for SSHv2 negotiation in Cisco IOS.

Anahtar Kavram

SSH Version 2 RSA Key Size Prerequisites
Bu soruyu puanla