summaryrefslogtreecommitdiff
path: root/ssh-keygen.1
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-keygen.1')
-rw-r--r--ssh-keygen.124
1 files changed, 18 insertions, 6 deletions
diff --git a/ssh-keygen.1 b/ssh-keygen.1
index b91a09827..b1430f143 100644
--- a/ssh-keygen.1
+++ b/ssh-keygen.1
@@ -43,8 +43,9 @@
43.Nd authentication key generation 43.Nd authentication key generation
44.Sh SYNOPSIS 44.Sh SYNOPSIS
45.Nm ssh-keygen 45.Nm ssh-keygen
46.Op Fl dq 46.Op Fl q
47.Op Fl b Ar bits 47.Op Fl b Ar bits
48.Op Fl t Ar type
48.Op Fl N Ar new_passphrase 49.Op Fl N Ar new_passphrase
49.Op Fl C Ar comment 50.Op Fl C Ar comment
50.Op Fl f Ar output_keyfile 51.Op Fl f Ar output_keyfile
@@ -79,8 +80,8 @@ generates and manages authentication keys for
79.Nm 80.Nm
80defaults to generating an RSA key for use by protocols 1.3 and 1.5; 81defaults to generating an RSA key for use by protocols 1.3 and 1.5;
81specifying the 82specifying the
82.Fl d 83.Fl t
83flag will create a DSA key instead for use by protocol 2.0. 84allows you to create a key for use by protocol 2.0.
84.Pp 85.Pp
85Normally each user wishing to use SSH 86Normally each user wishing to use SSH
86with RSA or DSA authentication runs this once to create the authentication 87with RSA or DSA authentication runs this once to create the authentication
@@ -154,6 +155,17 @@ Silence
154Used by 155Used by
155.Pa /etc/rc 156.Pa /etc/rc
156when creating a new key. 157when creating a new key.
158.It Fl t Ar type
159Specifies the type of the key to create.
160The possible values are
161.Dq rsa1
162for protocol version 1 and
163.Dq rsa
164or
165.Dq dsa
166for protocol version 2.
167The default is
168.Dq rsa .
157.It Fl C Ar comment 169.It Fl C Ar comment
158Provides the new comment. 170Provides the new comment.
159.It Fl N Ar new_passphrase 171.It Fl N Ar new_passphrase
@@ -173,7 +185,7 @@ SSH2-compatible private (or public) key file and
173print an OpenSSH compatible private (or public) key to stdout. 185print an OpenSSH compatible private (or public) key to stdout.
174.It Fl y 186.It Fl y
175This option will read a private 187This option will read a private
176OpenSSH DSA format file and print an OpenSSH DSA public key to stdout. 188OpenSSH format file and print an OpenSSH public key to stdout.
177.El 189.El
178.Sh FILES 190.Sh FILES
179.Bl -tag -width Ds 191.Bl -tag -width Ds
@@ -211,10 +223,10 @@ Contains the public key for authentication.
211The contents of this file should be added to 223The contents of this file should be added to
212.Pa $HOME/.ssh/authorized_keys2 224.Pa $HOME/.ssh/authorized_keys2
213on all machines 225on all machines
214where you wish to log in using DSA authentication. 226where you wish to log in using public key authentication.
215There is no need to keep the contents of this file secret. 227There is no need to keep the contents of this file secret.
216.El 228.El
217.Sh AUTHOR 229.Sh AUTHORS
218Tatu Ylonen <ylo@cs.hut.fi> 230Tatu Ylonen <ylo@cs.hut.fi>
219.Pp 231.Pp
220OpenSSH 232OpenSSH