]> git.llucax.com Git - software/bacap.git/commitdiff
Improve tip "Providing a ssh key"
authorRodrigo Campos <rodrigo@sdfg.com.ar>
Thu, 18 Nov 2010 15:42:35 +0000 (12:42 -0300)
committerLeandro Lucarella <llucax@gmail.com>
Thu, 18 Nov 2010 16:14:44 +0000 (13:14 -0300)
Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
README

diff --git a/README b/README
index 98710af8ad29ee907e73778f8933ebe68eae63fe..14dde79d8de2006926537c8eddb448004387c30b 100644 (file)
--- a/README
+++ b/README
@@ -170,11 +170,12 @@ If you are a Debian_ user, you can also simply install the script in
 Providing a ssh_ key
 --------------------
 
-When doing a backup of a remote host, you probably want ssh_ to be able to login
-without providing a password. To do so, you can generate a ssh_ key, copy the
-public key to the target's ``/root/.ssh/authorized_keys`` (or the user that runs
-the backup) and set the Bacap_ configuration variable ``RSYNC_RSH`` to something
-like::
+When doing a backup of a remote host, you probably want ssh_ to be able to
+login without providing a password. To do so, you can generate a ssh_ key using
+``ssh-keygen``, copy the public key to the target's
+``/root/.ssh/authorized_keys`` using ``ssh-copy-id root@host`` (or the user
+that runs the backup) and set the Bacap_ configuration variable ``RSYNC_RSH``
+to something like::
 
        RSYNC_RSH="ssh -i /path/to/priv-key -o NumberOfPasswordPrompts=0"