[Bug 2714] New: Allow specifying a key description when loading from stdin

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon May 8 00:47:01 AEST 2017


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

            Bug ID: 2714
           Summary: Allow specifying a key description when loading from
                    stdin
           Product: Portable OpenSSH
           Version: 7.5p1
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh-add
          Assignee: unassigned-bugs at mindrot.org
          Reporter: sascha-openssh-bugs at silbe.org

As a work-around for #2713, we're currently loading a private key file
from stdin with ssh-add:

ssh-add - < foo/id_rsa

The key will end up as an "anonymous" entry in "ssh-add -l" output:

sascha.silbe at twin:~$ ssh-add -l
2048 d8:9f:1f:cc:f6:7b:d9:cb:ad:43:6c:c8:ea:13:09:4f Sascha Silbe
<sascha-pgp at silbe.org> (RSA)
4096 79:22:5b:b8:3c:d1:f4:b0:95:df:0a:8e:43:10:75:d3 rsa w/o comment
(RSA)

This makes it hard for humans to distinguish / recognise the keys and
is potentially confusing.

Since loading keys from stdin is likely useful in more cases than just
as a work-around for #2713, it would be good to have an option to
specify a description when adding a key.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list