[Bug 3545] Output from ssh-keygen -e, which should always be a public-key, is not accepted by ssh-keygen -l

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Mar 23 18:59:31 AEDT 2026


https://bugzilla.mindrot.org/show_bug.cgi?id=3545

Damien Miller <djm at mindrot.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |djm at mindrot.org
         Resolution|---                         |WORKSFORME
             Status|NEW                         |RESOLVED

--- Comment #1 from Damien Miller <djm at mindrot.org> ---
No, "ssh-keygen -e" exports in RFC4716 format. This is used by some
other SSH implementations but isn't what OpenSSH uses for public keys.

You want ssh-keygen -y, which writes the public key in the format
OpenSSH uses. E.g

ssh-keygen -qf my -N ''
ssh-keygen -yf my
ssh-ed25519
AAAAC3NzaC1lZDI1NTE5AAAAINSXptIhW/+Whc5oRMWO5RcF+2VjcoacUK2OkCmJ1x7n
djm at djm

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list