ed25519 fingerprint mismatch because of extra padding from AWS `=`
0
Hello. I'm encountering an interesting scenario where the generated fingerprint for my imported/created ed25519 SSH key is different from the one reported by ssh-keygen
.
For example:
ssh-keygen:
64OuseEfObM7yYiEyK7u42qN1kHj6/JGnpro1XqO4pM
And AWS generated the fingerprint:
64OuseEfObM7yYiEyK7u42qN1kHj6/JGnpro1XqO4pM=
So, there is extra padding for some reason. Does anyone know why that is so?
Cheers, Gergely.
Topics
Tags
Gergely
asked 24 days ago1 views
2 Answers
0
I got it.
From other posts here as well, but the answer is that they are using a base64 sha256 openssl combo like this:
$ cat ~/.ssh/ec2-key.pub | base64 -w0 -d | openssl dgst -binary -sha256 | base64 -w0; echo
Where the pub key was generated from the downloaded ec2 pem key like this:
ssh-keygen -y -f ~/.ssh/ec2-key.pem > ~/.ssh/ec2-key.pub
Gergely
answered 21 days ago
Relevant questions
ed25519 fingerprint mismatch because of extra padding from AWS `=`
Gergelyasked 24 days agoPermission denied (publickey,gssapi-keyex,gssapi-with-mic). when using putt
chandradcasked 3 years agoWindows Server "Password is not available"
Accepted AnswerAWS-User-5112352asked 4 months agoAre ed25519 ssh keys supported in AWS Transfer Family?
tim-steinerasked 6 months agoAnyway to *NOT* get MITM'ed?
paul__draperasked 3 years agoHostKey for SFTP Transfer Family
Accepted Answerdotmindlabsasked 2 months agoAdd Amplify deploy key to multiple github repositories?
speshakasked 3 years agoEd25519 SSH public key support
AWS-User-1231313asked 3 months agoAWS Transfer Authentication Failure
AWS-User-0962411asked 4 months agoSSM fingerprint changed
AWS-User-4192343asked 4 months ago
Yeah, I know WHAT the equal sign is. :) The question is, why it's there when local workflow doesn't produce it. But I figured it out in the end.