Well the ssh problem your having sounds like the file permissions of the home dir or .ssh/ or authorized_keys.
drwxr-xr-x 26 yazz users /home/yazz/ drwxr-xr-x 3 yazz users /home/yazz/.ssh/ -rw-r--r-- 1 yazz users /home/yazz/.ssh/authorized_keys If thats not it are you using SSH1 on one machine and SSH2 on another? Your setup of /etc/ssh/sshd_config might not be letting SSH1 keys. Try a SSH2 ... "ssh-keygey -t dsa" then put id_dsa.pub in .ssh/authorized_keys2. You might want to make sure you allow RSAAuthentication in your /etc/ssh/sshd_config. Last thing I can think off is you forgot to install the sshd PAM config file if you compiled and installed SSH by hand... Look in your source for sshd.pam and put it in the file /etc/pam.d/sshd. Thats all I can think off of the top of my head... Oh I don't know if anyone wants my rsync scripts I wrote for doing some of our backups but I attached them. It works simple enough using rsync over ssh. ./backup-sshd host.domain.com Its just a bash script that does a nice job for us. Just thought someone else might find it handy or might want to give me some ideas for improving it. I have another one for doing it over the rsync daemon too... Latter, Yazz On Mon, Feb 11, 2002 at 11:50:38AM -0500, Sarabjit Singh wrote: > Hi, > I am trying to mirror a server every night using rsync. I have to backup > multiple directories and multiple individual files. I also want to use ssh > as transport. > > The problem is that I cannot get ssh to work without asking password for > each step. I tried the public key thing but it doesnt work. > Can some one give instructions for a layman like me. > Also I want to know how to pass argument to sync multiple files and > directories by running rsyn just once. > > I am running Redhat linux 7.2. > Thanks > > -- Yazz D. Atlas <[EMAIL PROTECTED]> Senior Systems Engineer / Senior BOFH [ O | S | D | N ], Open Source Development Network http://www.osdn.com/ 50 Nagog Park, Acton, MA 01720 AIM: Entropy Works 42 IRC: Aaton irc.slashnet.org ICQ: 11445680 \/\/ gpg --keyserver wwwkeys.pgp.net --recv-key 0x0C57DDA0 \/\/ /\/\ GPG: 644C E9FF D0AF 3C5E 5C73 5E05 00EF C7EC 0C57 DDA0 /\/\
backup-scripts.tar.gz
Description: Binary data
msg03045/pgp00000.pgp
Description: PGP signature