]> asedeno.scripts.mit.edu Git - PuTTY.git/commit - ssh.c
Support using public-only key files in PuTTY proper.
authorSimon Tatham <anakin@pobox.com>
Tue, 12 May 2015 11:30:25 +0000 (12:30 +0100)
committerSimon Tatham <anakin@pobox.com>
Tue, 12 May 2015 11:30:25 +0000 (12:30 +0100)
commit4204a53f6d8215fde1984748d835ebabc8392619
tree3b8b08793a6dabe12c5957c6775fb2026b417e7e
parent3935cc3af1e8ff7685142e2060019dd67ffa5bd6
Support using public-only key files in PuTTY proper.

Obviously PuTTY can't actually do public-key authentication itself, if
you give it a public rather than private key file. But it can still
match the supplied public key file against the list of keys in the
agent, and narrow down to that. So if for some reason you're
forwarding an agent to a machine you don't want to trust with your
_private_ key file (even encrypted), you can still use the '-i' option
to select which key from the agent to use, by uploading just the
public key file to that machine.
ssh.c