Feature request for ssh-add
Darren Tucker
dtucker at zip.com.au
Thu Aug 11 10:24:26 AEST 2016
On Thu, Aug 11, 2016 at 1:29 AM, Loganaden Velvindron
<loganaden at gmail.com> wrote:
[...]
> Instead of specifying each key file, a single file such as .config
> would contain:
> AgentDefaultKey ~/.ssh/client1_rsa.private ~/.ssh/client2_ed25519
> ~/.ssh/client3_ed25519.
You can do that with a trivial shell wrapper:
function ssh-add() { if [ -z "$@" ];then /usr/bin/ssh-add `cat
~/.ssh/keylist`; else /usr/bin/ssh-add $@; fi ; }
then list your keys in ~/.ssh/keylist. ssh-add does not currently
read a config file and I don't think it should.
--
Darren Tucker (dtucker at zip.com.au)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860 37F4 9357 ECEF 11EA A6FA (new)
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
More information about the openssh-unix-dev
mailing list