Re: ssh -i option does not work properly with ssh-agent

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

 



On Sun, Mar 15, 2015 at 03:48:30PM +0100, Jens Stimpfle wrote:
> I noticed that the ssh -i <keyfile> option is "ignored" in my case:

[...]

> As you can see, when A is loaded in ssh-agent but B isn't, the
> connection is made with key A even when B is specifically requested.

You didn't specify "only use B"

     IdentitiesOnly
             Specifies that ssh should only use the authentication identity
             files configured in the ssh_config files, even if the ssh-agent
             offers more identities.  The argument to this keyword must be
             "yes" or "no".  This option is intended for situations where
             ssh-agent offers many different identities.  The default is "no".


-- 

rgds
Stephen
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@xxxxxxxxxxx
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev




[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux