Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm trying to SSH in to one of my servers. Should the RSA fingerprint be the same no matter which of the server's IP addresses I use to connect, or will it be different for each?

share|improve this question
    
Unless you run multiple sshd instances... –  andol Dec 17 '11 at 12:42

2 Answers 2

up vote 5 down vote accepted

It should always be the same, and it should match what is returned from ssh-keygen -lf /etc/ssh/ssh_host_rsa_key

share|improve this answer

If you specify:

VisualHostkey yes

In your ssh client configuration (if you are using openssh client), you will see a graphical rendering of the fingerprint. This should make it easier/faster to compare visually then comparing a string of hex-digits.

But yeah, as stated before, the key/fingerprint is independant of the ip-adres or port-number. Though if you are hosting multiple ssh-installs (or using redirects on the network) you could see different fingerprints on the different ports.

share|improve this answer

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.