cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
825
Views
0
Helpful
3
Replies

When changing ip domain-name do I regenerate RSA keys?

zlabovic
Level 1
Level 1

Hello,

I have 150 WAN locations that I can only ssh to, with a ip domain name that needs to be slightly changed. WHen changing this, will I have to regenerate the RSA keys as well?

3 Replies 3

Collin Clark
VIP Alumni
VIP Alumni

Nope

jgervia_2
Level 1
Level 1

You don't have to (the key will stay the same, the domain-name is only used when the key is generated). It's still good practices to re-generate the key if you do change the domain, but it's not required.

--Jason

I have tried changing only ip domain name.

As it turned out, out of 150 WAN routers, about 80 did not have a problem with this, bat the other 70 did. On 70 of them, there was no way to just change the ip domain name because the ssh refused to work...

I had to regenerate the rsa keys and reload those routers.