On Thu, 4 Dec 2003, Ganesan Kanavathy wrote: > > Is this approach secure? Can another machine masquerade as the trusted > host?
YES, absolutely. You do create your key pair, and then copy your public-key in remote account's ~/.ssh/authorized_keys file Just check out the man page for exact format. Once you copy the public key to your remote account where you want to put your backup files, your rsync can dump the files to that account without asking password(if your /etc/sshd/configuration is appropriate--this is also given in the man-page). And if you are paranoid about masqurading, let the remote machine come to your machine and get the files. So you have to place the cron-job on the remote machine and an entry of that remote account;s public-key in your ~/.ssh/authorized_keys file!! -- Regards, Vishwas. .::Signature::. --------------------------------------- Vishwas Patil. [EMAIL PROTECTED] [alternative] http://www.ecom.tifr.res.in/~vtp --------------------------------------- Experience has proved that some people indeed know everything. ------------------------------------------------------- This SF.net email is sponsored by OSDN's Audience Survey. Help shape OSDN's sites and tell us what you think. Take this five minute survey and you could win a $250 Gift Certificate. http://www.wrgsurveys.com/2003/osdntech03.php?site=8 _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help
