Multiple private keys with plink.

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I'm following the advice of the Putty FAQ by posting here so if
questions about plink are off-topic I apologise. Anyway...

I'm using plink to perform automated connections to a server. On the
server I have two authorised keys for the same user.

On the client the private keys are held in pageant. Connection works
fine - but it appears that I always connect using the first key in the
pageant list.

I want to be able to connect using either key 1 or key 2. I've tried
using the -i option to specify the keyfile but this is ignored! I can't
find anything in the manual on this either... Any ideas?

Re: Multiple private keys with plink.

Quoted text here. Click to load it

This doesn't help you much, but this is a known bug in PuTTY (and hence
plink).  See < /
pubkeyfile-and-pageant.html> for the details.

Ben Harris

Site Timeline