problems with rdiff-backup

Discussion in 'HOWTO-Related Questions' started by sickkick, Apr 11, 2007.

  1. sickkick

    sickkick New Member

    Hear is what I get to.


    Code:
    [root@server2 ~]# su -m rdiff-backup
    bash: /root/.bashrc: Permission denied
    bash-3.1$ whoami
    rdiff-backup
    bash-3.1$ cd /backup
    bash-3.1$ 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:
    ef:20:54:df:db:90:b1:e8:ab:2e:87:55:cf:e6:07:e5 [email protected]
    
    Then This When I try to create the config file??

    bash-3.1$ cat /backup/.ssh/config
    cat: /backup/.ssh/config: No such file or directory
    bash-3.1$
     
  2. falko

    falko Super Moderator ISPConfig Developer

    You must create that file with a text editor like vi, e.g.:
    Code:
    vi /backup/.ssh/config
    Then put something like this into it:
    Code:
    host server1_backup
    hostname server1.example.com
    user root
    identityfile /backup/.ssh/id_rsa
    compression yes
    cipher blowfish
    protocol 2
     

Share This Page