04-24-2020 06:35 AM
Hi everyone, I am not clear about the speech of the ssh keys. In a lab to practice I created pc u server dns and a switch.
When I create the keys, after configuring vlan1 with its ip, I enter the domain name on the dns server and generate the keys as per the procedure. But the thing that is not clear to me is that I have not set any DNS server on the switch but only the IP address of Vlan 1. At this point, even if I use example.com as a domain, it generates the keys for me right? That is, it is not clear to me what server if I can put any domain x without even having pointed and configured it.
Solved! Go to Solution.
04-24-2020 08:39 AM
04-24-2020 10:15 AM
(Moving thread to proper forum)
The domain-name is just a value that Cisco historically required to use as input to the hash when creating the RSA key. It is completely independent of whether you use it for anything else or if it is even valid.
04-24-2020 11:21 AM - edited 04-24-2020 11:22 AM
Hello
You can generate ssh keys without specify a DNS domain using a label
example:
crypto key generate rsa label <any-name-you-wish> general-keys modulus <key size>
04-24-2020 08:39 AM
04-24-2020 10:13 AM
04-24-2020 10:15 AM
(Moving thread to proper forum)
The domain-name is just a value that Cisco historically required to use as input to the hash when creating the RSA key. It is completely independent of whether you use it for anything else or if it is even valid.
04-24-2020 12:25 PM
04-24-2020 11:21 AM - edited 04-24-2020 11:22 AM
Hello
You can generate ssh keys without specify a DNS domain using a label
example:
crypto key generate rsa label <any-name-you-wish> general-keys modulus <key size>
04-25-2020 01:11 AM
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide