From 55aa934b633be4b5635ebf334a629ec299dd6bfc Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Mon, 5 Jan 2015 03:07:49 +0000 Subject: [PATCH 1/1] manual: Simplify keygen command. 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 | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/web/manual.m4 b/web/manual.m4 index 1cf6ac29..84cc79dc 100644 --- a/web/manual.m4 +++ b/web/manual.m4 @@ -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: -- 2.39.2