[Bug 2342] ssh-keygen gives wrong error loading public key message

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Mon Feb 23 21:06:06 AEDT 2015


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

--- Comment #2 from Ismail Donmez <ismail at donmez.ws> ---
(In reply to Damien Miller from comment #1)
> I can't replicate this:
> 
> [djm at fuyu openssh]$ mkdir x
> [djm at fuyu openssh]$ cd x
> [djm at fuyu x]$ ../ssh-keygen -t ed25519 -f key -N '' -q
> [djm at fuyu x]$ ../ssh-keygen -lf ^C
> [djm at fuyu x]$ rm key ; mv key.pub key
> [djm at fuyu x]$ ../ssh-keygen -lf key
> 256 SHA256:0UH+G0Bw+ZP3rqTwxsio5CUTrKkS/kcJ26RwV3Twbyw djm at fuyu
> (ED25519)

I can't replicate like this either but I can replicate with my original
key:

[~/x]> cat key
i10z.com ssh-ed25519
AAAAC3NzaC1lZDI1NTE5AAAAIIkPOwWQHARlE7C+wFr2dl/zUu97AUG/YpfwgpDgYH2z

[~/x]> /usr/local/bin/ssh-keygen -l -f key
Error loading public key "key": No such file or directory
256 SHA256:9BPlb4ZU9f4OP3LEz9cqYhJYR5EtefTd3PInri50Zc4 i10z.com
(ED25519)

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


More information about the openssh-bugs mailing list