Bug 3004 - ssh-add does not honor IdentityAgent
Summary: ssh-add does not honor IdentityAgent
Status: CLOSED WONTFIX
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: ssh-add (show other bugs)
Version: 7.9p1
Hardware: All All
: P5 enhancement
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-07 15:39 AEST by Ryo IGARASHI
Modified: 2021-04-23 14:55 AEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryo IGARASHI 2019-05-07 15:39:12 AEST
From OpenSSH 7.3p1, ssh_config has an option IdentityAgent so that I can unset SSH_AUTH_SOCK for invoking ssh with ssh-agent.

For example, if I have the following line, you don't have to set SSH_AUTH_SOCK:

$ cat $HOME/.ssh/config
Host *
  IdentityAgent ~/.ssh/S.ssh-agent

However, ssh-add only looks for SSH_AUTH_SOCK. It would be nice for ssh-add to honor config(s) of IdentityAgent.
Comment 1 Damien Miller 2019-05-17 13:49:54 AEST
ssh-agent doesn't read ~/.ssh/config and we don't have any plans to make it do so.
Comment 2 Damien Miller 2021-04-23 14:55:48 AEST
closing resolved bugs as of 8.6p1 release