Cisco CCNA Exam 200-301: Implementing and Administering Cisco Solutions | SSH Operation on Cisco IOS Switch

Conditions for SSH Operation on Cisco IOS Switch

Question

Which two conditions must be met before SSH operates normally on a Cisco IOS switch? (Choose two.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

DE.

https://www.cisco.com/c/en/us/support/docs/security-vpn/secure-shell-ssh/4145-ssh.html

The correct answers are D and E.

SSH (Secure Shell) is a secure protocol used to remotely access network devices. It provides a secure way to access the device by encrypting the data transmitted between the device and the client. In order for SSH to operate normally on a Cisco IOS switch, the following two conditions must be met:

D. The switch must be running a k9 (crypto) IOS image: The k9 (crypto) IOS image includes support for SSH encryption. Without this image, SSH cannot be used on the switch.

E. The ip domain-name command must be configured on the switch: The ip domain-name command is used to specify the DNS domain name for the switch. This command is required for generating RSA key pairs that are used for SSH encryption.

The other answer options, A, B, and C, are not directly related to SSH operation:

A. IP routing must be enabled on the switch: IP routing is not required for SSH operation on a switch.

B. A console password must be configured on the switch: A console password is not required for SSH operation on a switch. However, it is recommended to have strong passwords configured on all interfaces, including the console.

C. Telnet must be disabled on the switch: Telnet is not required for SSH operation on a switch. However, it is recommended to disable Telnet and use SSH for secure remote access.