Soru

Zorluk: ZorSSH Secure Remote Access Configuration and Verification

A network administrator is verifying SSH remote access on a newly deployed enterprise switch named Dist-SW2. The hostname and IP domain name have been configured, and the administrator generated host keys using the CLI command `crypto key generate rsa modulus 512`. When administrative users attempt to establish remote sessions using SSH version 2, the connections fail. When the administrator executes the `show ip ssh` command on Dist-SW2 to inspect the SSH operational state, which status line is displayed in the output?

  1. SSH Enabled - version 1.5Cevap
  2. B
    SSH Enabled - version 2.0
  3. C
    SSH Disabled - invalid key length
  4. D
    SSH Enabled - version 1.99

Cevap

The switch displays 'SSH Enabled - version 1.5' because the generated RSA key modulus is 512 bits, which falls below the 768-bit threshold required for SSH version 2.
In Cisco IOS, SSH version 2 requires an RSA key pair with a minimum modulus size of 768 bits (1024 bits or higher is recommended). When an administrator generates an RSA key with a modulus of 512 bits, Cisco IOS successfully creates the key but defaults the SSH daemon to SSH version 1.5. Consequently, running `show ip ssh` displays 'SSH Enabled - version 1.5', and clients attempting to connect strictly using SSH v2 will be rejected.

Adım Adım Çözüm

1
Analyze SSH Version Requirements for Cisco IOS
SSH version 2 requires an RSA key pair with a minimum modulus size of 768 bits.
Cryptographic security standards in Cisco IOS enforce longer keys for SSH v2 operation.
2
Evaluate the Impact of generating a 512-bit RSA Key
The command `crypto key generate rsa modulus 512` succeeds, but forces Cisco IOS to run SSH version 1.5.
Keys below 768 bits are insufficient for SSH v2 key exchange, defaulting the daemon to SSH v1.5.
3
Correlate with CLI Verification Commands
Executing `show ip ssh` confirms the status as 'SSH Enabled - version 1.5'.
This explains why SSH version 2 client connection attempts were rejected.

Anahtar Kavram

SSH Version and RSA Key Modulus Requirements
Bu soruyu puanla