200-301 · Question #603
Refer to the exhibit. Which minimum configuration items are needed to enable Secure Shell version 2 access to R15?
The correct answer is A. Router(config)#hostname R15. A unique hostname is a fundamental prerequisite for generating RSA keys, which are essential for enabling Secure Shell (SSH) access, as the device uses the hostname in its cryptographic identity.
Question
Exhibits
Options
- ARouter(config)#hostname R15
- BRouter(config)#crypto key generate rsa general-keys modulus 1024
- CRouter(config)#hostname R15
- DRouter(config)#ip domain-name cisco.com
How the community answered
(31 responses)- A90% (28)
- C3% (1)
- D6% (2)
Why each option
A unique hostname is a fundamental prerequisite for generating RSA keys, which are essential for enabling Secure Shell (SSH) access, as the device uses the hostname in its cryptographic identity.
Configuring a unique `hostname` (e.g., R15) is a fundamental prerequisite for enabling SSH, as the Cisco IOS device requires a hostname other than the default 'Router' before it can successfully generate the RSA cryptographic keys necessary for SSH secure communication. Without a distinct hostname, the `crypto key generate rsa` command will typically fail or prompt for a hostname.
While `crypto key generate rsa general-keys modulus 1024` is essential for creating the encryption keys for SSH, it cannot be successfully executed without a hostname and an IP domain name already configured.
The `ip domain-name` command is also a required component for SSH key generation, but like `crypto key generate rsa`, it must be set in conjunction with or after a unique hostname is defined for the device.
Concept tested: SSH hostname requirement for key generation
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/security/d1_v/sec-d1-v-cr-book/sec-ssh-cr.html
Topics
Community Discussion
No community discussion yet for this question.

