cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Community

Cisco announces new innovations in SD-WAN, ISRs, SD-WAN Services, and Catalyst 9000 Series switches


201
Views
15
Helpful
3
Replies
Beginner

Why are we need set ip domain in the configuration the ssh ?

Am I can configurate ssh whithout set ip domain name?

Which is importanting the ip domain name in the configuration the ssh?

 

3 ACCEPTED SOLUTIONS

Accepted Solutions
Rising star

Re: Why are we need set ip domain in the configuration the ssh ?

Hi @eduangel,

 

This is because the rsa key name is composed by host name and domain name, and since ssh needs an rsa key in order to work, we need to specifiy a domain name before configuring the rsa key.

 

Regards

Highlighted
VIP Advisor

Re: Why are we need set ip domain in the configuration the ssh ?

Hi

 

By default on Cisco IOS, when generation rsa keys, it names it using hostname+domain-name.

If you add the keyword LABEL xxxx (where xxxx corresponds to a name you want), you'll see you won't get any error message anymore.

 


Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
VIP Advisor

Re: Why are we need set ip domain in the configuration the ssh ?

Francesco already answered your question. For some more info on this topic, I have written a little document:

Guide to better SSH-Security

3 REPLIES
Rising star

Re: Why are we need set ip domain in the configuration the ssh ?

Hi @eduangel,

 

This is because the rsa key name is composed by host name and domain name, and since ssh needs an rsa key in order to work, we need to specifiy a domain name before configuring the rsa key.

 

Regards

Highlighted
VIP Advisor

Re: Why are we need set ip domain in the configuration the ssh ?

Hi

 

By default on Cisco IOS, when generation rsa keys, it names it using hostname+domain-name.

If you add the keyword LABEL xxxx (where xxxx corresponds to a name you want), you'll see you won't get any error message anymore.

 


Thanks
Francesco
PS: Please don't forget to rate and select as validated answer if this answered your question
VIP Advisor

Re: Why are we need set ip domain in the configuration the ssh ?

Francesco already answered your question. For some more info on this topic, I have written a little document:

Guide to better SSH-Security

CreatePlease to create content
Content for Community-Ad