Add support for DSA authentication in SSH2, following clever ideas
[u/mdw/putty] / doc / pubkey.but
CommitLineData
5c72ca61 1\versionid $Id: pubkey.but,v 1.5 2001/09/22 20:52:21 simon Exp $
024f5783 2
3\# FIXME: passphrases, examples (e.g what does a key for pasting into
4\# authorized_keys look like?), index entries, links.
5
e5b0d077 6\C{pubkey} Using public keys for SSH authentication
7
024f5783 8\H{pubkey-intro} Public key authentication - an introduction
9
388f343b 10Public key authentication is an alternative means of identifying
11yourself to a login server, instead of typing a password. It is more
12secure and more flexible, but more difficult to set up.
13
14In conventional password authentication, you prove you are who you
15claim to be by proving that you know the correct password. The only
16way to prove you know the password is to tell the server what you
17think the password is. This means that if the server has been
18hacked, or \e{spoofed} (see \k{gs-hostkey}), an attacker can learn
19your password.
20
21Public key authentication solves this problem. You generate a \e{key
22pair}, consisting of a public key (which everybody is allowed to
23know) and a private key (which you keep secret and do not give to
24anybody). The private key is able to generate \e{signatures}.
25