manual: Simplify keygen command.
authorAndre Noll <maan@tuebingen.mpg.de>
Mon, 5 Jan 2015 03:07:49 +0000 (03:07 +0000)
committerAndre Noll <maan@tuebingen.mpg.de>
Mon, 12 Jan 2015 22:35:45 +0000 (23:35 +0100)
Specifying an empty passphrase with -N '' is simpler than asking
the user to press enter twice. This commit also improves the note on
short keys slightly.

web/manual.m4

index 1cf6ac29b0b7195c63af6093f4caac24b75f6ac7..84cc79dcf2a76adddfd0c961235595380d2df822 100644 (file)
@@ -374,13 +374,11 @@ following commands:
 Next, change to the "bar" account on client_host and generate the
 key pair with the commands
 
-       ssh-keygen -t rsa -b 2048
-       # hit enter twice to create a key with no passphrase
+       ssh-keygen -q -t rsa -b 2048 -N '' -f $key
 
-This generates the two files id_rsa and id_rsa.pub in ~/.ssh.
-Note that para_server refuses to use a key if it is shorter than
-2048 bits. Moreover, para_client refuses to use a private key which
-is world-readable.
+This generates the two files id_rsa and id_rsa.pub in ~/.ssh.  Note
+that para_server won't accept keys shorter than 2048 bits. Moreover,
+para_client rejects private keys which are world-readable.
 
 para_server only needs to know the public key of the key pair just
 created. Copy this public key to server_host: