| 188 | To verify the identity of the host before logging in, you can run {{{ec2-get-console-output}}} to get the key fingerprint written to the console during the bootup process. The key fingerprints will look something like: |
| 189 | {{{ |
| 190 | Restarting OpenBSD Secure Shell server: sshd. |
| 191 | ------- KEY FINGERPRINTS ------- |
| 192 | 2048 28:f1:0c:51:95:82:c6:a1:a2:58:a3:37:7f:39:ef:f9 /etc/ssh/ssh_host_rsa_key.pub |
| 193 | 1024 90:f2:98:4b:e6:c5:c7:7a:23:6e:ef:67:d0:be:72:a9 /etc/ssh/ssh_host_dsa_key.pub |
| 194 | -------------------------------- |
| 195 | }}} |
| 196 | during bootup. |
| 197 | Then you can compare this key fingerprint with the one reported by ssh when you log in to verify the host identity. |
| 198 | |