PuTTY bug pubkeyfile-and-pageant

This is a mirror. The primary PuTTY web site can be found here.

Home | Licence | FAQ | Docs | Download | Keys | Links
Mirrors | Updates | Feedback | Changes | Wishlist | Team

summary: Pageant + explicit keyfile gives non-optimal behaviour
class: bug: This is clearly an actual problem we want fixed.
difficulty: fun: Just needs tuits, and not many of them.
priority: medium: This should be fixed one day.
present-in: 0.53b
fixed-in: r6459 2005-11-14 (0.59) (0.60)

When Pageant is running and a keypair is explicitly specified (via -i, configuration or whatever), PuTTY will try authenticating with all the keys in Pageant regardless. This isn't ideal for various reasons.

This is particularly obvious when several keys are valid for a given connection (e.g., if one is trying to use a particular key to run a particular forced command). It can also cause problems if Pageant has lots of keys and the server (e.g. OpenSSH) is configured to only allow a certain number of authentication attempts. See the errors chapter of the PuTTY manual.

Update, 2005-11-14: If Pageant is running and a keyfile is specified, PuTTY will now only try Pageant authentication with that key; it will ignore any other keys Pageant may have.

Audit trail for this bug.

If you want to comment on this web site, see the Feedback page.
(last revision of this bug record was at 2008-02-10 14:42:39 +0000)