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

--- Comment #3 from Damien Miller <[email protected]> ---
I can't replicate that behaviour with either 7.2p2 or -current.

If I create my RSA key as an old-style key I get output that matches
yours.

[djm@djm .ssh]$ ssh-keygen -t rsa -C comment -N '' -qf ~/.ssh/id_rsa
[djm@djm .ssh]$ ssh-keygen -t ed25519 -C comment -N '' -qf
~/.ssh/id_ed25519
[djm@djm .ssh]$ ssh-add
Identity added: /home/djm/.ssh/id_rsa (/home/djm/.ssh/id_rsa)
Identity added: /home/djm/.ssh/id_ed25519 (comment)

If I create it as a new-style key then I see the expected output:

[djm@djm .ssh]$ ssh-add -D
All identities removed.
[djm@djm .ssh]$ ssh-keygen -ot rsa -C comment -N '' -qf ~/.ssh/id_rsa
/home/djm/.ssh/id_rsa already exists.
Overwrite (y/n)? y
[djm@djm .ssh]$ ssh-add 
Identity added: /home/djm/.ssh/id_rsa (comment)
Identity added: /home/djm/.ssh/id_ed25519 (comment)

What version OpenSSH are you using? Did you compile from source or are
you using a vendor package.

-- 
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.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to