Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Nov 2009 15:09:44 +0000
From:      Vincent Hoffman <vince@unsane.co.uk>
To:        questions@freebsd.org
Subject:   ssh-agent and ordering of keys
Message-ID:  <4AFAD3B8.1000609@unsane.co.uk>

next in thread | raw e-mail | index | archive | help
Hi all,
            I've a bit of an annoying problem that hopefully someone
here has delt with before.  I have a large(ish) number of ssh keys as i
like to keep things nicely seperated, I also use longish passphrases. To
deal with long pass phrases I have started to use ssh-agent, which is
working nicely but since i have a large number of keys and ssh-agent
doesnt let you specify a particular key for a particular machine (I was
using host and IdentiyFile lines in ~/.ssh/config before) I'm starting
to hit a problem where I'm unable to log in to a machine as I'm hitting
the MaxAuthTries value in sshd_config.  I know i could just bung the
MaxAuthTries value up to 20 or so on all my servers but I dont really
want to, I'd rather a way of specifying which ssh key ssh-agent uses for
a specific host, (like i said it ignores the IdentiyFile lines in the
config file and ignores the -i switch to ssh itself.) Any ideas welcome.



Thanks,
Vince



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AFAD3B8.1000609>