On 10/30/2016 12:57 PM, Rich Shepard wrote:
> On Sun, 30 Oct 2016, Robert Citek wrote:
>
>> Good luck and let us know what works for you.
>
>    Still seeking this goal. :-)
>
>    After modifying ~/.bash_profile to invoke ssh-agent I sourced the file,
> then tried ssh-add which did not work:
>
> $ ssh-add
> Enter passphrase for /home/rshepard/.ssh/id_ed25519:
> Could not add identity "/home/rshepard/.ssh/id_ed25519": agent refused
> operation

<< clip >>

>    Would be nice to learn why.
>
> Rich

 From the ssh-add man page:

DESCRIPTION
      ssh-add adds private key identities to the authentication agent,
      ssh-agent(1).  When run without arguments, it adds the files
      ~/.ssh/id_rsa, ~/.ssh/id_dsa, ~/.ssh/id_ecdsa, ~/.ssh/id_ed25519
      and ~/.ssh/identity.

I take that to mean that it *only* searches for those file names. I base 
this on the fact that I don't use any of those names and I don't get any 
prompt when I run ssh-add directly. If I give the full path and the 
non-conventional name as an argument to ssh-add, it loads just fine.

Alternatively, if you have two of those filenames present, does it load 
both and prompt you for the passphrase of the file you *think* it is 
loading? Doesn't appear so, but I also don't know the contents of your 
.ssh directory (nor should I).

dafr

_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to