diff options
author | intrigeri <intrigeri@boum.org> | 2011-01-27 19:02:05 +0100 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2011-01-27 19:02:28 +0100 |
commit | a036144de87424ad0cab8fa8491db44af40c0e16 (patch) | |
tree | 3ca400fe0598ceeeebfbb5e9f18ab48293973e00 | |
parent | 8190b0dbc7581590a23d302ba06966aa17d9ba63 (diff) | |
download | backupninja-a036144de87424ad0cab8fa8491db44af40c0e16.tar.gz backupninja-a036144de87424ad0cab8fa8491db44af40c0e16.tar.bz2 |
Documentation: recommend using 4096 bits RSA keys everywhere.
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | README | 4 | ||||
-rw-r--r-- | examples/example.dup | 2 | ||||
-rw-r--r-- | handlers/dup.helper.in | 2 | ||||
-rw-r--r-- | man/backupninja.1 | 2 |
5 files changed, 7 insertions, 5 deletions
@@ -32,6 +32,8 @@ version 0.9.9 -- UNRELEASED the patch. rdiff: . Generate 4096 bits RSA keys. + documentation changes + . Recommend using 4096 bits RSA keys everywhere. version 0.9.8.1 -- October 31, 2010 (boo!) backupninja changes @@ -201,8 +201,8 @@ In order for rdiff-backup to sync files over ssh unattended, you must create ssh keys on the source server and copy the public key to the remote user's authorized keys file. For example: - root@srchost# ssh-keygen -t dsa - root@srchost# ssh-copy-id -i /root/.ssh/id_dsa.pub backup@desthost + root@srchost# ssh-keygen -t rsa -b 4096 + root@srchost# ssh-copy-id -i /root/.ssh/id_rsa.pub backup@desthost Now, you should be able to ssh from user 'root' on srchost to user 'backup' on desthost without specifying a password. diff --git a/examples/example.dup b/examples/example.dup index 0ed5b2a..3eb4529 100644 --- a/examples/example.dup +++ b/examples/example.dup @@ -203,7 +203,7 @@ exclude = /var/cache/backupninja/duplicity ## warning: sftp does not support all scp options, especially -i; as ## a workaround, you can use "-o <SSHOPTION>" ## an example setting would be: -## sshoptions = -o IdentityFile=/root/.ssh/id_dsa_duplicity +## sshoptions = -o IdentityFile=/root/.ssh/id_rsa_duplicity ## ## Default: # sshoptions = diff --git a/handlers/dup.helper.in b/handlers/dup.helper.in index 12331a3..f85cf87 100644 --- a/handlers/dup.helper.in +++ b/handlers/dup.helper.in @@ -449,7 +449,7 @@ bandwidthlimit = $dup_bandwidth # passed directly to ssh, scp (and sftp in duplicity >=0.4.2) # warning: sftp does not support all scp options, especially -i; as # a workaround, you can use "-o <SSHOPTION>" -#sshoptions = -o IdentityFile=/root/.ssh/id_dsa_duplicity +#sshoptions = -o IdentityFile=/root/.ssh/id_rsa_duplicity sshoptions = $dup_sshoptions # put the backups under this destination directory diff --git a/man/backupninja.1 b/man/backupninja.1 index 5622881..4363222 100644 --- a/man/backupninja.1 +++ b/man/backupninja.1 @@ -104,7 +104,7 @@ Then, vital parts of the file system, including /var/backups, are nightly pushed .TP In order for this to work (ie for diff-backup to run unattended), you must create ssh keys on the source server and copy the public key to the remote user's authorized keys file. For example: .br -root@srchost# ssh-keygen -t dsa +root@srchost# ssh-keygen -t rsa -b 4096 .br root@srchost# ssh-copy-id -i /root/.ssh/id_dsa.pub backup@desthost .TP |