Take the 2-minute tour ×
Network Engineering Stack Exchange is a question and answer site for network engineers. It's 100% free, no registration required.

What is the purpose of a domain name to create SSH keys?

Before enabling SSH on firewall/router, we need to create domain name.

Why is it necessary to do that? What does a domain name do and how is it related to SSH? What role does it play in enabling SSH?

share|improve this question

2 Answers 2

up vote 3 down vote accepted

It isn't necessary to create a domain name to create SSH keys. The below syntax will allow you to generate RSA keys for SSH use without one.

router(config)#crypto key generate rsa general-keys label RSAKEY
share|improve this answer
    
so domain name is not necessary, its an optional one ya.. –  Trojan Feb 15 at 16:48
    
@satheesh91 Correct, it's not required if you label your own crypto keys. –  Ryan Foley Feb 15 at 16:50

IP domain-name command is used to complete the "crypto key generate rsa command". Check out a couple of these links

share|improve this answer
1  
i want some real example kindly share it pls. still in confusion –  Trojan Feb 15 at 8:03
2  
NE encourages members to give full answers and discourages the use of link answers. If you can expand on your answer a little more, please do. –  Ryan Foley Feb 15 at 12:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.