[Bug 2564] New: ssh_config AddKeysToAgent doesn't set key name/path

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Mon Apr 18 02:05:42 AEST 2016


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

            Bug ID: 2564
           Summary: ssh_config AddKeysToAgent doesn't set key name/path
           Product: Portable OpenSSH
           Version: 7.2p1
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: ssh
          Assignee: unassigned-bugs at mindrot.org
          Reporter: alves.rjc at gmail.com

Hi everyone,

This request is a small enhancement to the feature introduced in
https://bugzilla.mindrot.org/show_bug.cgi?id=1699 to include the name
or path of/to the ssh key.

Currently if a key is added automatically by having the option
AddKeysToAgent enabled the name/path to the key is not included.
This contrasts with keys added manually via ssh-add which include this
information. So when using "ssh-add -l" the following is seen:

  2048 SHA256:aF4h47lpohn7aXTMtlWFMfEXWtT7zN1CMh2M/NGXgTM  (RSA)
  2048 SHA256:ihNn8ml5z5rLXULYnXibgBSSZ7PiHVXzgCQywXqGi6I .ssh/test
(RSA)

The first line was added automatically by use of AddKeysToAgent. The
second was added by calling "ssh-add .ssh/test".

The missing information could come from the "IdentityFile" in
ssh_config or the "-i" parameter if specified in the command line.

Having the name of the key is useful to know which keys are currently
loaded on the agent.

Thanks,
Renato

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


More information about the openssh-bugs mailing list