nerdexam
Cisco

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.

Submitted by joshua94· Mar 5, 2026Security Fundamentals

Question

Refer to the exhibit. Which minimum configuration items are needed to enable Secure Shell version 2 access to R15?

Exhibits

200-301 question #603 exhibit 1
200-301 question #603 exhibit 2

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)
  • A
    90% (28)
  • C
    3% (1)
  • D
    6% (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.

ARouter(config)#hostname R15Correct

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.

BRouter(config)#crypto key generate rsa general-keys modulus 1024

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.

CRouter(config)#hostname R15
DRouter(config)#ip domain-name cisco.com

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

#Cisco SSHv2#Router configuration#Hostname command#SSH prerequisites

Community Discussion

No community discussion yet for this question.

Full 200-301 Practice