129k views
4 votes
Which command has to be configured on the router to complete the SSH configuration?

1) ip ssh version 2
2) ip ssh authentication-retries 3
3) ip ssh time-out 60
4) ip ssh logging events

1 Answer

3 votes

Final answer:

To complete SSH configuration on a router, the most essential step is to generate RSA key pairs and define the domain name. While 'ip ssh version 2' is recommended, it is not essential for enabling SSH.

Step-by-step explanation:

To complete the SSH configuration on a router, none of the commands listed are strictly necessary to simply enable and use SSH, as they are additional settings for security and usability.

However, if you need to specify the version of SSH, the ip SSH version 2 command is normally recommended to ensure the use of the more secure SSH version 2 over the older version 1. The ip ssh authentication-retries 3 command sets the number of authentication retries if a user fails to authenticate, ip ssh time-out 60 sets the SSH time-out interval, and ip ssh logging events enable logging of SSH events.

Typically, the command to initially configure SSH would involve generating RSA key pairs with something like crypto key generate rsa, specifying the domain name of the router with IP domain name, and enabling SSH on the vty lines with line vty configuration commands.