diff options
Diffstat (limited to 'sshd.8')
-rw-r--r-- | sshd.8 | 29 |
1 files changed, 13 insertions, 16 deletions
@@ -34,7 +34,7 @@ | |||
34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | 34 | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 35 | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
36 | .\" | 36 | .\" |
37 | .\" $OpenBSD: sshd.8,v 1.216 2006/02/09 10:10:47 jmc Exp $ | 37 | .\" $OpenBSD: sshd.8,v 1.217 2006/02/12 10:52:41 jmc Exp $ |
38 | .Dd September 25, 1999 | 38 | .Dd September 25, 1999 |
39 | .Dt SSHD 8 | 39 | .Dt SSHD 8 |
40 | .Os | 40 | .Os |
@@ -374,27 +374,24 @@ authentication protocol and cookie in standard input. | |||
374 | Runs user's shell or command. | 374 | Runs user's shell or command. |
375 | .El | 375 | .El |
376 | .Sh AUTHORIZED_KEYS FILE FORMAT | 376 | .Sh AUTHORIZED_KEYS FILE FORMAT |
377 | .Pa ~/.ssh/authorized_keys | ||
378 | is the default file that lists the public keys that are | ||
379 | permitted for RSA authentication in protocol version 1 | ||
380 | and for public key authentication (PubkeyAuthentication) | ||
381 | in protocol version 2. | ||
382 | .Cm AuthorizedKeysFile | 377 | .Cm AuthorizedKeysFile |
383 | may be used to specify an alternative file. | 378 | specifies the file containing public keys for |
384 | .Pp | 379 | public key authentication; |
380 | if none is specified, the default is | ||
381 | .Pa ~/.ssh/authorized_keys . | ||
385 | Each line of the file contains one | 382 | Each line of the file contains one |
386 | key (empty lines and lines starting with a | 383 | key (empty lines and lines starting with a |
387 | .Ql # | 384 | .Ql # |
388 | are ignored as | 385 | are ignored as |
389 | comments). | 386 | comments). |
390 | Each RSA public key consists of the following fields, separated by | 387 | Protocol 1 public keys consist of the following space-separated fields: |
391 | spaces: options, bits, exponent, modulus, comment. | 388 | options, bits, exponent, modulus, comment. |
392 | Each protocol version 2 public key consists of: | 389 | Protocol 2 public key consist of: |
393 | options, keytype, base64 encoded key, comment. | 390 | options, keytype, base64-encoded key, comment. |
394 | The options field | 391 | The options field is optional; |
395 | is optional; its presence is determined by whether the line starts | 392 | its presence is determined by whether the line starts |
396 | with a number or not (the options field never starts with a number). | 393 | with a number or not (the options field never starts with a number). |
397 | The bits, exponent, modulus and comment fields give the RSA key for | 394 | The bits, exponent, modulus, and comment fields give the RSA key for |
398 | protocol version 1; the | 395 | protocol version 1; the |
399 | comment field is not used for anything (but may be convenient for the | 396 | comment field is not used for anything (but may be convenient for the |
400 | user to identify the key). | 397 | user to identify the key). |
@@ -409,7 +406,7 @@ Note that lines in this file are usually several hundred bytes long | |||
409 | keys up to 16 kilobits. | 406 | keys up to 16 kilobits. |
410 | You don't want to type them in; instead, copy the | 407 | You don't want to type them in; instead, copy the |
411 | .Pa identity.pub , | 408 | .Pa identity.pub , |
412 | .Pa id_dsa.pub | 409 | .Pa id_dsa.pub , |
413 | or the | 410 | or the |
414 | .Pa id_rsa.pub | 411 | .Pa id_rsa.pub |
415 | file and edit it. | 412 | file and edit it. |