summaryrefslogtreecommitdiff
path: root/ssh-keygen.1
diff options
context:
space:
mode:
authorjmc@openbsd.org <jmc@openbsd.org>2016-06-16 06:10:45 +0000
committerDamien Miller <djm@mindrot.org>2016-06-24 13:35:28 +1000
commitb6cf84b51bc0f5889db48bf29a0c771954ade283 (patch)
tree96eb6040afadb25abf50c262a1c5376038deeb4d /ssh-keygen.1
parentaa37768f17d01974b6bfa481e5e83841b6c76f86 (diff)
upstream commit
keys stored in openssh format can have comments too; diff from yonas yanfa, tweaked a bit; ok djm Upstream-ID: 03d48536da6e51510d73ade6fcd44ace731ceb27
Diffstat (limited to 'ssh-keygen.1')
-rw-r--r--ssh-keygen.19
1 files changed, 5 insertions, 4 deletions
diff --git a/ssh-keygen.1 b/ssh-keygen.1
index 9835539d7..ce2213c78 100644
--- a/ssh-keygen.1
+++ b/ssh-keygen.1
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ssh-keygen.1,v 1.132 2016/05/03 18:38:12 jmc Exp $ 1.\" $OpenBSD: ssh-keygen.1,v 1.133 2016/06/16 06:10:45 jmc 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
@@ -35,7 +35,7 @@
35.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 35.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
36.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 36.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37.\" 37.\"
38.Dd $Mdocdate: May 3 2016 $ 38.Dd $Mdocdate: June 16 2016 $
39.Dt SSH-KEYGEN 1 39.Dt SSH-KEYGEN 1
40.Os 40.Os
41.Sh NAME 41.Sh NAME
@@ -207,7 +207,7 @@ There is no way to recover a lost passphrase.
207If the passphrase is lost or forgotten, a new key must be generated 207If the passphrase is lost or forgotten, a new key must be generated
208and the corresponding public key copied to other machines. 208and the corresponding public key copied to other machines.
209.Pp 209.Pp
210For RSA1 keys, 210For RSA1 keys and keys stored in the newer OpenSSH format,
211there is also a comment field in the key file that is only for 211there is also a comment field in the key file that is only for
212convenience to the user to help identify the key. 212convenience to the user to help identify the key.
213The comment can tell what the key is for, or whatever is useful. 213The comment can tell what the key is for, or whatever is useful.
@@ -264,7 +264,8 @@ flag will be ignored.
264Provides a new comment. 264Provides a new comment.
265.It Fl c 265.It Fl c
266Requests changing the comment in the private and public key files. 266Requests changing the comment in the private and public key files.
267This operation is only supported for RSA1 keys. 267This operation is only supported for RSA1 keys and keys stored in the
268newer OpenSSH format.
268The program will prompt for the file containing the private keys, for 269The program will prompt for the file containing the private keys, for
269the passphrase if the key has one, and for the new comment. 270the passphrase if the key has one, and for the new comment.
270.It Fl D Ar pkcs11 271.It Fl D Ar pkcs11