[Bug 3951] New: For some keys, "ssh-add -l" shows the pathname instead of the comment
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Thu Apr 23 11:45:24 AEST 2026
https://bugzilla.mindrot.org/show_bug.cgi?id=3951
Bug ID: 3951
Summary: For some keys, "ssh-add -l" shows the pathname instead
of the comment
Product: Portable OpenSSH
Version: 10.0p2
Hardware: Other
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: ssh-add
Assignee: unassigned-bugs at mindrot.org
Reporter: vincent-openssh at vinc17.net
For some keys added with "ssh-add /path/to/key":
* This command outputs "Identity added: /path/to/key (/path/to/key)".
* "ssh-add -l" and "ssh-add -L" also show the pathname instead of the
comment.
But "ssh-keygen -l -f /path/to/key" shows the comment as expected.
This happens under Debian with at least
* openssh-client 1:9.2p1-2+deb12u9
* openssh-client 1:10.0p1-7+deb13u2 (on one machine, with 4 keys, I
get 3 comments and 1 pathname; on another machine, with 9 keys, I get 2
comments and 7 pathnames).
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list