Access/Security
SSH key verification
This howto is also valid for key verification when logging in for the first time.
If you already have the public key saved in your ~/.ssh/known_hosts
file and the frontend comes up with a different one, you will see message similar to the following:
This normally happens when the frontend is reinstalled or its key is re-generated by admins (for whatever reasons). However this may be also a sign of an attack when a foreign machine tries to pretend it is a frontend.
How to verify the key
- Go to PBSmon page with host SSH key fingerprints. This page is managed by our admins. It contains fingerprints od SSH keys of all our hosts (computing nodes as well as frontends).
- Search for the name of host you tried to log in, e.g. “skirit.ics.muni.cz”. You will find several consecutive lines containing this word.
- Among these lines, select the one that contains the type of encryption noted in the warning message, e.g. “ED25519”
- From this line, select the string that follows after “SHA256:” and ends by first blank space
- If this string is the same as the one displayed in the warning message (here
:bZfXg8ZTXR3KlUNbJ8rhMP0QOtbGdp7sMPCW22bIE0M
), then the key is genuine and you can go on with removing the old key and changing it to the new one - If the strings are different, do not log in and contact our user support.
In case you need to see list public keys of all hosts, there is also a complete list of public keys available.
Last updated on