mirror of
git://anongit.mindrot.org/openssh.git
synced 2025-03-03 13:17:47 +00:00
- jmc@cvs.openbsd.org 2006/02/12 10:52:41
[sshd.8] rework the description of authorized_keys a little;
This commit is contained in:
parent
20c2ec48c3
commit
dcfea27f1b
@ -82,6 +82,9 @@
|
|||||||
- jmc@cvs.openbsd.org 2006/02/12 10:49:44
|
- jmc@cvs.openbsd.org 2006/02/12 10:49:44
|
||||||
[ssh_config.5]
|
[ssh_config.5]
|
||||||
slight rewording; ok djm
|
slight rewording; ok djm
|
||||||
|
- jmc@cvs.openbsd.org 2006/02/12 10:52:41
|
||||||
|
[sshd.8]
|
||||||
|
rework the description of authorized_keys a little;
|
||||||
|
|
||||||
20060313
|
20060313
|
||||||
- (dtucker) [configure.ac] Bug #1171: Don't use printf("%lld", longlong)
|
- (dtucker) [configure.ac] Bug #1171: Don't use printf("%lld", longlong)
|
||||||
@ -3983,4 +3986,4 @@
|
|||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.4162 2006/03/15 00:31:01 djm Exp $
|
$Id: ChangeLog,v 1.4163 2006/03/15 00:31:22 djm Exp $
|
||||||
|
29
sshd.8
29
sshd.8
@ -34,7 +34,7 @@
|
|||||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.\" $OpenBSD: sshd.8,v 1.216 2006/02/09 10:10:47 jmc Exp $
|
.\" $OpenBSD: sshd.8,v 1.217 2006/02/12 10:52:41 jmc Exp $
|
||||||
.Dd September 25, 1999
|
.Dd September 25, 1999
|
||||||
.Dt SSHD 8
|
.Dt SSHD 8
|
||||||
.Os
|
.Os
|
||||||
@ -374,27 +374,24 @@ authentication protocol and cookie in standard input.
|
|||||||
Runs user's shell or command.
|
Runs user's shell or command.
|
||||||
.El
|
.El
|
||||||
.Sh AUTHORIZED_KEYS FILE FORMAT
|
.Sh AUTHORIZED_KEYS FILE FORMAT
|
||||||
.Pa ~/.ssh/authorized_keys
|
|
||||||
is the default file that lists the public keys that are
|
|
||||||
permitted for RSA authentication in protocol version 1
|
|
||||||
and for public key authentication (PubkeyAuthentication)
|
|
||||||
in protocol version 2.
|
|
||||||
.Cm AuthorizedKeysFile
|
.Cm AuthorizedKeysFile
|
||||||
may be used to specify an alternative file.
|
specifies the file containing public keys for
|
||||||
.Pp
|
public key authentication;
|
||||||
|
if none is specified, the default is
|
||||||
|
.Pa ~/.ssh/authorized_keys .
|
||||||
Each line of the file contains one
|
Each line of the file contains one
|
||||||
key (empty lines and lines starting with a
|
key (empty lines and lines starting with a
|
||||||
.Ql #
|
.Ql #
|
||||||
are ignored as
|
are ignored as
|
||||||
comments).
|
comments).
|
||||||
Each RSA public key consists of the following fields, separated by
|
Protocol 1 public keys consist of the following space-separated fields:
|
||||||
spaces: options, bits, exponent, modulus, comment.
|
options, bits, exponent, modulus, comment.
|
||||||
Each protocol version 2 public key consists of:
|
Protocol 2 public key consist of:
|
||||||
options, keytype, base64 encoded key, comment.
|
options, keytype, base64-encoded key, comment.
|
||||||
The options field
|
The options field is optional;
|
||||||
is optional; its presence is determined by whether the line starts
|
its presence is determined by whether the line starts
|
||||||
with a number or not (the options field never starts with a number).
|
with a number or not (the options field never starts with a number).
|
||||||
The bits, exponent, modulus and comment fields give the RSA key for
|
The bits, exponent, modulus, and comment fields give the RSA key for
|
||||||
protocol version 1; the
|
protocol version 1; the
|
||||||
comment field is not used for anything (but may be convenient for the
|
comment field is not used for anything (but may be convenient for the
|
||||||
user to identify the key).
|
user to identify the key).
|
||||||
@ -409,7 +406,7 @@ Note that lines in this file are usually several hundred bytes long
|
|||||||
keys up to 16 kilobits.
|
keys up to 16 kilobits.
|
||||||
You don't want to type them in; instead, copy the
|
You don't want to type them in; instead, copy the
|
||||||
.Pa identity.pub ,
|
.Pa identity.pub ,
|
||||||
.Pa id_dsa.pub
|
.Pa id_dsa.pub ,
|
||||||
or the
|
or the
|
||||||
.Pa id_rsa.pub
|
.Pa id_rsa.pub
|
||||||
file and edit it.
|
file and edit it.
|
||||||
|
Loading…
Reference in New Issue
Block a user