summaryrefslogtreecommitdiff
path: root/sshd.8
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-06-25 04:17:12 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-06-25 04:17:12 +0000
commitf96704d4ef4c55599d9999292abc1457e8153674 (patch)
tree3e3e8a85ae03df6a26b425b607496bac0949e8c0 /sshd.8
parentae1c51c208917198fd96f0aca209459f37001ea4 (diff)
- markus@cvs.openbsd.org 2001/06/22 21:55:49
[auth2.c auth-rsa.c pathnames.h ssh.1 sshd.8 sshd_config ssh-keygen.1] merge authorized_keys2 into authorized_keys. authorized_keys2 is used for backward compat. (just append authorized_keys2 to authorized_keys).
Diffstat (limited to 'sshd.8')
-rw-r--r--sshd.841
1 files changed, 6 insertions, 35 deletions
diff --git a/sshd.8 b/sshd.8
index ee3f1164f..b6ac3d40a 100644
--- a/sshd.8
+++ b/sshd.8
@@ -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.129 2001/06/22 21:28:53 provos Exp $ 37.\" $OpenBSD: sshd.8,v 1.130 2001/06/22 21:55:50 markus Exp $
38.Dd September 25, 1999 38.Dd September 25, 1999
39.Dt SSHD 8 39.Dt SSHD 8
40.Os 40.Os
@@ -345,20 +345,6 @@ is taken to be an absolute path or one relative to the user's home
345directory. 345directory.
346The default is 346The default is
347.Dq .ssh/authorized_keys 347.Dq .ssh/authorized_keys
348.It Cm AuthorizedKeysFile2
349Specifies the file that contains the public keys that can be used
350for public key authentication in protocol version 2.
351.Cm AuthorizedKeysFile2
352may contain tokens of the form %T which are substituted during connection
353set-up. The following tokens are defined; %% is replaces by a literal '%',
354%h is replaced by the home directory of the user being authenticated and
355%u is replaced by the username of that user.
356After expansion,
357.Cm AuthorizedKeysFile2
358is taken to be an absolute path or one relative to the user's home
359directory.
360The default is
361.Dq .ssh/authorized_keys2
362.It Cm Banner 348.It Cm Banner
363In some jurisdictions, sending a warning message before authentication 349In some jurisdictions, sending a warning message before authentication
364may be relevant for getting legal protection. 350may be relevant for getting legal protection.
@@ -921,16 +907,11 @@ Runs user's shell or command.
921.El 907.El
922.Sh AUTHORIZED_KEYS FILE FORMAT 908.Sh AUTHORIZED_KEYS FILE FORMAT
923.Pa $HOME/.ssh/authorized_keys 909.Pa $HOME/.ssh/authorized_keys
924is the default file that lists the RSA keys that are 910is the default file that lists the public keys that are
925permitted for RSA authentication in protocol version 1. 911permitted for RSA authentication in protocol version 1
926.Cm AuthorizedKeysFile 912and for public key authentication (PubkeyAuthentication)
927may be used to specify an alternative file.
928Similarly,
929.Pa $HOME/.ssh/authorized_keys2
930is the default file that lists the DSA and RSA keys that are
931permitted for public key authentication (PubkeyAuthentication)
932in protocol version 2. 913in protocol version 2.
933.Cm AuthorizedKeysFile2 914.Cm AuthorizedKeysFile
934may be used to specify an alternative file. 915may be used to specify an alternative file.
935.Pp 916.Pp
936Each line of the file contains one 917Each line of the file contains one
@@ -1133,17 +1114,6 @@ concurrently for different ports, this contains the pid of the one
1133started last). 1114started last).
1134The content of this file is not sensitive; it can be world-readable. 1115The content of this file is not sensitive; it can be world-readable.
1135.It Pa $HOME/.ssh/authorized_keys 1116.It Pa $HOME/.ssh/authorized_keys
1136Lists the RSA keys that can be used to log into the user's account.
1137This file must be readable by root (which may on some machines imply
1138it being world-readable if the user's home directory resides on an NFS
1139volume).
1140It is recommended that it not be accessible by others.
1141The format of this file is described above.
1142Users will place the contents of their
1143.Pa identity.pub
1144files into this file, as described in
1145.Xr ssh-keygen 1 .
1146.It Pa $HOME/.ssh/authorized_keys2
1147Lists the public keys (RSA or DSA) that can be used to log into the user's account. 1117Lists the public keys (RSA or DSA) that can be used to log into the user's account.
1148This file must be readable by root (which may on some machines imply 1118This file must be readable by root (which may on some machines imply
1149it being world-readable if the user's home directory resides on an NFS 1119it being world-readable if the user's home directory resides on an NFS
@@ -1151,6 +1121,7 @@ volume).
1151It is recommended that it not be accessible by others. 1121It is recommended that it not be accessible by others.
1152The format of this file is described above. 1122The format of this file is described above.
1153Users will place the contents of their 1123Users will place the contents of their
1124.Pa identity.pub ,
1154.Pa id_dsa.pub 1125.Pa id_dsa.pub
1155and/or 1126and/or
1156.Pa id_rsa.pub 1127.Pa id_rsa.pub