From: Nils B. (Lemonbit) <ni...@le...> - 2008-03-21 07:41:12
|
Appu wrote: > Thanx a lot Mike for ur valuable reply . I m doing same but its not > working . > Wat ever i did i m going to tell u brifely as follows > > Generate ssh key > bash-2.0.5#ssh-keygen-t rsa > after that its generate the publc key. like this > the key fingerprint is : > be:51 ..........................................root@swt-ws5(where > swt-ws5 is my workstation) > > And after that I transfer key file to backup server like below > > bash-2.0.5#scp /.ssh/id_rsa.pub backuppc.swt.com:.ssh/ > authorized_keys.swt-ws5 > backuppc.swt.com@backuppc's passwd > > like this i have generate a ssh key but aftre that when i m goin to > take backup of that client machine (scn-ws5) its not working . > > PLz try to help me out this problem > > I m waiting for ur best response. There are several problems here: 1) Generate the passphraseless keypair for the backuppc user on the server, not for root. BackupPC needs to be able to use it. (You could generate it on another machine (your workstation), but be sure to transfer the keypair to the backuppc account on the BackupPC server and give it the right owner and permissions there.) 2) Copy the public key to ~/.ssh/authorized_keys on the clients (not authorized_keys.swt-ws5 or something like that) 3) Try to login using the passphraseless key at least once before giving BackupPC a go, because you need to manually OK the fingerprint of the client the first time you login. Nils Breunese. |