summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-04-11 15:59:35 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-04-11 15:59:35 +0000
commit18a82ac02941bb770e0edb9d849fd4e2d74aa682 (patch)
tree0cb4dbbef8d7add693d702f628d251219766eb91
parentb39215168584a1601a47356697963d808614990a (diff)
- itojun@cvs.openbsd.org 2001/04/10 09:13:22
[ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 sshd.8] document id_rsa{.pub,}. markus ok
-rw-r--r--ChangeLog5
-rw-r--r--ssh-add.18
-rw-r--r--ssh-agent.18
-rw-r--r--ssh-keygen.133
-rw-r--r--ssh.119
-rw-r--r--sshd.89
6 files changed, 58 insertions, 24 deletions
diff --git a/ChangeLog b/ChangeLog
index 0039e9026..038f18a73 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,9 @@
3 - markus@cvs.openbsd.org 2001/04/10 07:46:58 3 - markus@cvs.openbsd.org 2001/04/10 07:46:58
4 [channels.c] 4 [channels.c]
5 cleanup socks4 handling 5 cleanup socks4 handling
6 - itojun@cvs.openbsd.org 2001/04/10 09:13:22
7 [ssh-add.1 ssh-agent.1 ssh-keygen.1 ssh.1 sshd.8]
8 document id_rsa{.pub,}. markus ok
6 9
720010410 1020010410
8 - OpenBSD CVS Sync 11 - OpenBSD CVS Sync
@@ -4996,4 +4999,4 @@
4996 - Wrote replacements for strlcpy and mkdtemp 4999 - Wrote replacements for strlcpy and mkdtemp
4997 - Released 1.0pre1 5000 - Released 1.0pre1
4998 5001
4999$Id: ChangeLog,v 1.1094 2001/04/11 15:57:50 mouring Exp $ 5002$Id: ChangeLog,v 1.1095 2001/04/11 15:59:35 mouring Exp $
diff --git a/ssh-add.1 b/ssh-add.1
index 3cdf33745..d7725c6e3 100644
--- a/ssh-add.1
+++ b/ssh-add.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ssh-add.1,v 1.23 2001/04/09 15:19:49 markus Exp $ 1.\" $OpenBSD: ssh-add.1,v 1.24 2001/04/10 09:13:21 itojun Exp $
2.\" 2.\"
3.\" -*- nroff -*- 3.\" -*- nroff -*-
4.\" 4.\"
@@ -80,7 +80,7 @@ Deletes all identities from the agent.
80.Sh FILES 80.Sh FILES
81.Bl -tag -width Ds 81.Bl -tag -width Ds
82.It Pa $HOME/.ssh/identity 82.It Pa $HOME/.ssh/identity
83Contains the RSA authentication identity of the user. 83Contains the protocol version 1 RSA authentication identity of the user.
84This file should not be readable by anyone but the user. 84This file should not be readable by anyone but the user.
85Note that 85Note that
86.Nm 86.Nm
@@ -92,7 +92,9 @@ This is the default file added by
92.Nm 92.Nm
93when no other files have been specified. 93when no other files have been specified.
94.It Pa $HOME/.ssh/id_dsa 94.It Pa $HOME/.ssh/id_dsa
95Contains the DSA authentication identity of the user. 95Contains the protocol version 2 DSA authentication identity of the user.
96.It Pa $HOME/.ssh/id_rsa
97Contains the protocol version 2 RSA authentication identity of the user.
96.El 98.El
97.Sh ENVIRONMENT 99.Sh ENVIRONMENT
98.Bl -tag -width Ds 100.Bl -tag -width Ds
diff --git a/ssh-agent.1 b/ssh-agent.1
index a14f359a4..1d214698d 100644
--- a/ssh-agent.1
+++ b/ssh-agent.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ssh-agent.1,v 1.23 2001/04/02 17:32:23 deraadt Exp $ 1.\" $OpenBSD: ssh-agent.1,v 1.24 2001/04/10 09:13:21 itojun Exp $
2.\" 2.\"
3.\" Author: Tatu Ylonen <ylo@cs.hut.fi> 3.\" Author: Tatu Ylonen <ylo@cs.hut.fi>
4.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4.\" Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -142,7 +142,7 @@ line terminates.
142.Sh FILES 142.Sh FILES
143.Bl -tag -width Ds 143.Bl -tag -width Ds
144.It Pa $HOME/.ssh/identity 144.It Pa $HOME/.ssh/identity
145Contains the RSA authentication identity of the user. 145Contains the protocol version 1 RSA authentication identity of the user.
146This file should not be readable by anyone but the user. 146This file should not be readable by anyone but the user.
147It is possible to 147It is possible to
148specify a passphrase when generating the key; that passphrase will be 148specify a passphrase when generating the key; that passphrase will be
@@ -153,7 +153,9 @@ but is normally added to the agent using
153.Xr ssh-add 1 153.Xr ssh-add 1
154at login time. 154at login time.
155.It Pa $HOME/.ssh/id_dsa 155.It Pa $HOME/.ssh/id_dsa
156Contains the DSA authentication identity of the user. 156Contains the protocol version 2 DSA authentication identity of the user.
157.It Pa $HOME/.ssh/id_rsa
158Contains the protocol version 2 RSA authentication identity of the user.
157.It Pa /tmp/ssh-XXXXXXXX/agent.<pid> 159.It Pa /tmp/ssh-XXXXXXXX/agent.<pid>
158Unix-domain sockets used to contain the connection to the 160Unix-domain sockets used to contain the connection to the
159authentication agent. 161authentication agent.
diff --git a/ssh-keygen.1 b/ssh-keygen.1
index a3914680e..6808ede69 100644
--- a/ssh-keygen.1
+++ b/ssh-keygen.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ssh-keygen.1,v 1.35 2001/03/11 22:33:23 markus Exp $ 1.\" $OpenBSD: ssh-keygen.1,v 1.36 2001/04/10 09:13:21 itojun Exp $
2.\" 2.\"
3.\" -*- nroff -*- 3.\" -*- nroff -*-
4.\" 4.\"
@@ -89,9 +89,10 @@ option allows you to create a key for use by protocol 2.0.
89Normally each user wishing to use SSH 89Normally each user wishing to use SSH
90with RSA or DSA authentication runs this once to create the authentication 90with RSA or DSA authentication runs this once to create the authentication
91key in 91key in
92.Pa $HOME/.ssh/identity 92.Pa $HOME/.ssh/identity ,
93.Pa $HOME/.ssh/id_dsa
93or 94or
94.Pa $HOME/.ssh/id_dsa . 95.Pa $HOME/.ssh/id_rsa .
95Additionally, the system administrator may use this to generate host keys, 96Additionally, the system administrator may use this to generate host keys,
96as seen in 97as seen in
97.Pa /etc/rc . 98.Pa /etc/rc .
@@ -191,7 +192,7 @@ OpenSSH format file and print an OpenSSH public key to stdout.
191.Sh FILES 192.Sh FILES
192.Bl -tag -width Ds 193.Bl -tag -width Ds
193.It Pa $HOME/.ssh/identity 194.It Pa $HOME/.ssh/identity
194Contains the RSA authentication identity of the user. 195Contains the protocol version 1 RSA authentication identity of the user.
195This file should not be readable by anyone but the user. 196This file should not be readable by anyone but the user.
196It is possible to 197It is possible to
197specify a passphrase when generating the key; that passphrase will be 198specify a passphrase when generating the key; that passphrase will be
@@ -202,14 +203,14 @@ but it is offered as the default file for the private key.
202.Xr sshd 8 203.Xr sshd 8
203will read this file when a login attempt is made. 204will read this file when a login attempt is made.
204.It Pa $HOME/.ssh/identity.pub 205.It Pa $HOME/.ssh/identity.pub
205Contains the public key for authentication. 206Contains the protocol version 1 RSA public key for authentication.
206The contents of this file should be added to 207The contents of this file should be added to
207.Pa $HOME/.ssh/authorized_keys 208.Pa $HOME/.ssh/authorized_keys
208on all machines 209on all machines
209where you wish to log in using RSA authentication. 210where you wish to log in using RSA authentication.
210There is no need to keep the contents of this file secret. 211There is no need to keep the contents of this file secret.
211.It Pa $HOME/.ssh/id_dsa 212.It Pa $HOME/.ssh/id_dsa
212Contains the DSA authentication identity of the user. 213Contains the protocol version 2 DSA authentication identity of the user.
213This file should not be readable by anyone but the user. 214This file should not be readable by anyone but the user.
214It is possible to 215It is possible to
215specify a passphrase when generating the key; that passphrase will be 216specify a passphrase when generating the key; that passphrase will be
@@ -220,7 +221,25 @@ but it is offered as the default file for the private key.
220.Xr sshd 8 221.Xr sshd 8
221will read this file when a login attempt is made. 222will read this file when a login attempt is made.
222.It Pa $HOME/.ssh/id_dsa.pub 223.It Pa $HOME/.ssh/id_dsa.pub
223Contains the public key for authentication. 224Contains the protocol version 2 DSA public key for authentication.
225The contents of this file should be added to
226.Pa $HOME/.ssh/authorized_keys2
227on all machines
228where you wish to log in using public key authentication.
229There is no need to keep the contents of this file secret.
230.It Pa $HOME/.ssh/id_rsa
231Contains the protocol version 2 RSA authentication identity of the user.
232This file should not be readable by anyone but the user.
233It is possible to
234specify a passphrase when generating the key; that passphrase will be
235used to encrypt the private part of this file using 3DES.
236This file is not automatically accessed by
237.Nm
238but it is offered as the default file for the private key.
239.Xr sshd 8
240will read this file when a login attempt is made.
241.It Pa $HOME/.ssh/id_rsa.pub
242Contains the protocol version 2 RSA public key for authentication.
224The contents of this file should be added to 243The contents of this file should be added to
225.Pa $HOME/.ssh/authorized_keys2 244.Pa $HOME/.ssh/authorized_keys2
226on all machines 245on all machines
diff --git a/ssh.1 b/ssh.1
index 1d30a7c21..e775d0dcb 100644
--- a/ssh.1
+++ b/ssh.1
@@ -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: ssh.1,v 1.101 2001/04/05 15:45:43 markus Exp $ 37.\" $OpenBSD: ssh.1,v 1.102 2001/04/10 09:13:22 itojun Exp $
38.Dd September 25, 1999 38.Dd September 25, 1999
39.Dt SSH 1 39.Dt SSH 1
40.Os 40.Os
@@ -212,8 +212,10 @@ If this method fails password authentication is tried.
212The public key method is similar to RSA authentication described 212The public key method is similar to RSA authentication described
213in the previous section except that the DSA or RSA algorithm is used 213in the previous section except that the DSA or RSA algorithm is used
214instead. 214instead.
215The client uses his private key 215The client uses his private key,
216.Pa $HOME/.ssh/id_dsa 216.Pa $HOME/.ssh/id_dsa
217or
218.Pa $HOME/.ssh/id_rsa ,
217to sign the session identifier and sends the result to the server. 219to sign the session identifier and sends the result to the server.
218The server checks whether the matching public key is listed in 220The server checks whether the matching public key is listed in
219.Pa $HOME/.ssh/authorized_keys2 221.Pa $HOME/.ssh/authorized_keys2
@@ -1136,8 +1138,9 @@ for protocol version 1 or
1136for protocol version 2). 1138for protocol version 2).
1137See 1139See
1138.Xr sshd 8 . 1140.Xr sshd 8 .
1139.It Pa $HOME/.ssh/identity, $HOME/.ssh/id_dsa 1141.It Pa $HOME/.ssh/identity, $HOME/.ssh/id_dsa, $HOME/.ssh/id_rsa
1140Contains the RSA and the DSA authentication identity of the user. 1142Contains the authentication identity of the user.
1143They are for protocol 1 RSA, protocol 2 DSA, and protocol 2 RSA, respectively.
1141These files 1144These files
1142contain sensitive data and should be readable by the user but not 1145contain sensitive data and should be readable by the user but not
1143accessible by others (read/write/execute). 1146accessible by others (read/write/execute).
@@ -1147,7 +1150,7 @@ ignores a private key file if it is accessible by others.
1147It is possible to specify a passphrase when 1150It is possible to specify a passphrase when
1148generating the key; the passphrase will be used to encrypt the 1151generating the key; the passphrase will be used to encrypt the
1149sensitive part of this file using 3DES. 1152sensitive part of this file using 3DES.
1150.It Pa $HOME/.ssh/identity.pub, $HOME/.ssh/id_dsa.pub 1153.It Pa $HOME/.ssh/identity.pub, $HOME/.ssh/id_dsa.pub, $HOME/.ssh/id_rsa.pub
1151Contains the public key for authentication (public part of the 1154Contains the public key for authentication (public part of the
1152identity file in human-readable form). 1155identity file in human-readable form).
1153The contents of the 1156The contents of the
@@ -1155,13 +1158,15 @@ The contents of the
1155file should be added to 1158file should be added to
1156.Pa $HOME/.ssh/authorized_keys 1159.Pa $HOME/.ssh/authorized_keys
1157on all machines 1160on all machines
1158where you wish to log in using RSA authentication. 1161where you wish to log in using protocol version 1 RSA authentication.
1159The contents of the 1162The contents of the
1160.Pa $HOME/.ssh/id_dsa.pub 1163.Pa $HOME/.ssh/id_dsa.pub
1164and
1165.Pa $HOME/.ssh/id_rsa.pub
1161file should be added to 1166file should be added to
1162.Pa $HOME/.ssh/authorized_keys2 1167.Pa $HOME/.ssh/authorized_keys2
1163on all machines 1168on all machines
1164where you wish to log in using DSA authentication. 1169where you wish to log in using protocol version 2 DSA/RSA authentication.
1165These files are not 1170These files are not
1166sensitive and can (but need not) be readable by anyone. 1171sensitive and can (but need not) be readable by anyone.
1167These files are 1172These files are
diff --git a/sshd.8 b/sshd.8
index 54b7861fa..4611c0638 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.112 2001/04/09 18:00:15 stevesk Exp $ 37.\" $OpenBSD: sshd.8,v 1.113 2001/04/10 09:13:22 itojun Exp $
38.Dd September 25, 1999 38.Dd September 25, 1999
39.Dt SSHD 8 39.Dt SSHD 8
40.Os 40.Os
@@ -821,9 +821,10 @@ or
821Note that lines in this file are usually several hundred bytes long 821Note that lines in this file are usually several hundred bytes long
822(because of the size of the RSA key modulus). 822(because of the size of the RSA key modulus).
823You don't want to type them in; instead, copy the 823You don't want to type them in; instead, copy the
824.Pa identity.pub 824.Pa identity.pub ,
825or the
826.Pa id_dsa.pub 825.Pa id_dsa.pub
826or the
827.Pa id_rsa.pub
827file and edit it. 828file and edit it.
828.Pp 829.Pp
829The options (if present) consist of comma-separated option 830The options (if present) consist of comma-separated option
@@ -1014,6 +1015,8 @@ It is recommended that it not be accessible by others.
1014The format of this file is described above. 1015The format of this file is described above.
1015Users will place the contents of their 1016Users will place the contents of their
1016.Pa id_dsa.pub 1017.Pa id_dsa.pub
1018and/or
1019.Pa id_rsa.pub
1017files into this file, as described in 1020files into this file, as described in
1018.Xr ssh-keygen 1 . 1021.Xr ssh-keygen 1 .
1019.It Pa "/etc/ssh_known_hosts" and "$HOME/.ssh/known_hosts" 1022.It Pa "/etc/ssh_known_hosts" and "$HOME/.ssh/known_hosts"