[system-administrators-guide] Correct mistake in RSA ssh-copy-id
stephenw
stephenw at fedoraproject.org
Wed Jun 3 22:44:00 UTC 2015
commit afa81699e3241accb0cfa2464a4ae5eaeb85716d
Author: Stephen Wadeley <swadeley at redhat.com>
Date: Wed Jun 3 23:59:30 2015 +0200
Correct mistake in RSA ssh-copy-id
en-US/OpenSSH.xml | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/en-US/OpenSSH.xml b/en-US/OpenSSH.xml
index a5b19ba..8f1a971 100644
--- a/en-US/OpenSSH.xml
+++ b/en-US/OpenSSH.xml
@@ -664,7 +664,7 @@ drwx------. 2 USER USER 54 Nov 25 16:56 /home/USER/.ssh/</screen>
<para>
To copy the public key to a remote machine, issue a command in the following format:
<synopsis> <command>ssh-copy-id <replaceable>user at hostname</replaceable></command></synopsis>
- This will copy all <filename>~/.ssh/id*.pub</filename> public keys. Alternatively, specify the public keys file name as follows:
+ This will copy the most recently modified <filename>~/.ssh/id*.pub</filename> public key if it is not yet installed. Alternatively, specify the public key's file name as follows:
<synopsis><command>ssh-copy-id -i <filename>~/.ssh/id_rsa.pub</filename> <replaceable>user at hostname</replaceable></command></synopsis>
This will copy the content of <filename>~/.ssh/id_rsa.pub</filename> into the <filename>~/.ssh/authorized_keys</filename> file on the machine to which you want to connect. If the file already exists, the keys are appended to its end.
</para>
@@ -737,7 +737,7 @@ drwx------. 2 USER USER 54 Nov 25 16:56 /home/USER/.ssh/</screen>
<para>
To copy the public key to a remote machine, issue a command in the following format:
<synopsis><command>ssh-copy-id <replaceable>USER at hostname</replaceable></command></synopsis>
- This will copy all <filename>~/.ssh/id*.pub</filename> public keys. Alternatively, specify the public keys file name as follows:
+ This will copy the most recently modified <filename>~/.ssh/id*.pub</filename> public key if it is not yet installed. Alternatively, specify the public key's file name as follows:
<synopsis><command>ssh-copy-id -i <filename>~/.ssh/id_ecdsa.pub</filename> <replaceable>USER at hostname</replaceable></command></synopsis>
This will copy the content of <filename>~/.ssh/id_ecdsa.pub</filename> into the <filename>~/.ssh/authorized_keys</filename> on the machine to which you want to connect. If the file already exists, the keys are appended to its end.
</para>
More information about the docs-commits
mailing list