Which commands are required to configure SSH on router? (Choose two.)
A.
Configure domain name using ip domain-name command
B.
Generate a key using crypto key generate rsa
C.
Configure a DHCP host for the router using dhcpname#configure terminal
D.
Generate enterprise CA self-sign certificate
Explanation:
Here are the steps:
1. Configure a hostname for the router using these commands.
yourname#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
yourname (config)#hostname LabRouter
LabRouter(config)#
2. Configure a domain name with the ip domain-name command followed by whatever you would like
your domain name to be. I used CiscoLab.com.LabRouter(config)#ip domain-name CiscoLab.com
3. We generate a certificate that will be used to encrypt the SSH packets using the crypto key generate rsa
command.
Take note of the message that is displayed right after we enter this command: “The name for the keys
will be: LabRouter.CiscoLab.com” — it combines the hostname of the router along with the domain name
we configured to get the name of the encryption key generated; this is why it was important for us to,
first of all, configure a hostname then a domain name before we generated the keys. https://www.pluralsight.com/blog/tutorials/configure-secure-shell-ssh-on-cisco-router