I have a cloud server of IP address 39.106.xx.xxx
hosted on Aliyun. I generated a RSA 2048 ssh keypair (~/.ssh/rsa_bj.pub
and ~/.ssh/rsa_bj
) on my local laptop using ssh-keygen
, and imported the public key file to the server through console webpage of Aliyun.
When I ssh
connect to the server, it shows the fingerprint of my public key, beginning with Meg4xe
. But this fingerprint does not match my local fingerprint, which I got by ssh-keygen -l -f ~/.ssh/rsa_bj.pub
, beginning with qEqyMv
.
Does this mean that I ran into a man-in-the-middle attack? Or does it mean that the two fingerprints were calculated using different rehash algorithms on the same public key?