hi ! I am struggling in configuation of Automated Backups with rdiff-backup. I tried it many times but didnt get any success so thought to ask for problems i am facing. My server has k12ltsp distribution and the backup server has CentOS. STEP 1: K12ltsp Distribution has rdiff-backup-1.0.5-1.fc5 and CentOS distribution has rdiff-backup-1.0.5-1.el4.rf which i think are same version. STEP 2: I have created user as mentioned in step 2. and then i run command su -m rdiff-backup [root@localhost ~]# su -m rdiff-backup bash: /root/.bashrc: Permission denied bash-3.00$ whoami rdiff-backup cd /backup bash-3.00$ cd /backup/ bash-3.00$ ssh-keygen -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/backup/.ssh/id_rsa): /backup/.ssh/id_rsa already exists. Overwrite (y/n)? y Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /backup/.ssh/id_rsa. Your public key has been saved in /backup/.ssh/id_rsa.pub. The key fingerprint is: 11:97:c7:66:70:e7:61:66:21:e2:91:0c:51:46:73:ca firstname.lastname@example.org NEXT I have created file with contents as following: bash-3.00$ cat /backup/.ssh/config host hostname hostname myipaddress user root identityfile /backup/.ssh/id_rsa compression yes cipher blowfish protocol 2 Next i change the permission of that file: bash-3.00$ chmod -R go-rwx /backup/.ssh bash-3.00$ ls -l /backup/.ssh total 16 -rw------- 1 rdiff-backup rdiff-backup 124 Jan 10 22:35 config -rw------- 1 rdiff-backup rdiff-backup 883 Jan 10 22:33 id_rsa -rw------- 1 rdiff-backup rdiff-backup 244 Jan 10 22:33 id_rsa.pub -rw------- 1 rdiff-backup rdiff-backup 395 Jan 10 21:42 known_hosts When i tried to copy public key to server bash-3.00$ ssh-copy-id -i ~/.ssh/id_rsa.pub root@host ipaddress bash: ssh-copy-id: command not found Then what i did is bash-3.00$ scp ~/.ssh/id_rsa.pub root@host ipaddress:/public.tmp root@host ip address's password: /root/.ssh/id_rsa.pub: Permission denied Then i login in as root to my backup server n did this: [root@localhost ~]# scp /backup/.ssh/id_rsa.pub root@host ipaddress:/public.tmp root@host ipaddress 's password: id_rsa.pub 100% 244 0.2KB/s 00:00 Then i login to my server and did this: [root@mainframe]# cat /public.tmp >> /root/.ssh/authorized_keys root@mainframe]# cat /root/.ssh/authorized_keys ssh-rsa AAAAB3.................................................= email@example.com Then i prepand the text n its in one line command="rdiff-backup --server --restrict-read-only /",from="ipaddress",no-port-forwarding,no-X11-forwarding,no-pty ssh-rsa AAAAB3.................................................= firstname.lastname@example.org [root@mainframe ~]# chmod -R go-rwx /root/.ssh I have uncomment the two lines in /etc/ssh/sshd_config [root@mainframe ~]# cat /etc/ssh/sshd_config RSAAuthentication yes PubkeyAuthentication yes [root@mainframe ~]# /etc/init.d/sshd restart Stopping sshd: [ OK ] Starting sshd: [ OK ] [root@mainframe ~]# STEP 4: bash-3.00$ whoami rdiff-backup bash-3.00$ bash-3.00$ cd /backup/ But it will ask me for password bash-3.00$ rdiff-backup ipaddress::/boot boot rdiff-backup@ipaddress's password: I am sending you all details so that u can figure it out well n tell me why this not working at my end. Regards.