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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Does Changing Hostname Require New SSH/RSA Keys?

We need to change the hostname of a 6500 series router running native IOS. After changing the hostname, should we also regenerate our SSH/RSA keys? If we don't regenerate the keys, will this cause any problems?

I believe changing the hostname causes SSH to break on a PIX, but changing the hostname did not seem to break SSH on a test IOS box.

3 REPLIES
Bronze

Re: Does Changing Hostname Require New SSH/RSA Keys?

Yes, that's correct changing the hostname won't break the ssh when using a nios firewall

Hall of Fame Super Silver

Re: Does Changing Hostname Require New SSH/RSA Keys?

I have been recently bit by this.

My experience on IOS routers is that if you change the host name that it does indeed break SSH until you regenerate the keys.

HTH

Rick

New Member

Re: Does Changing Hostname Require New SSH/RSA Keys?

Heh. 2 answers, 2 opposite experiences. I think there may not be one definite answer to this, but it seems like a best practice to regenerate the keys when changing the hostname. That way, all the bases are covered.

915
Views
0
Helpful
3
Replies