[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

rsync w/ssh



I'm trying to setup a cron job to sync two servers using ssh and rsync. The problem is I'm promted for a password; which won't work when I stick it in cron. Here's the syntax of my command line:

 rsync -vnaz --rsh=ssh  --delete somehost.com:/var/www/ /var/www/

Any ideas?  Thanks!

Kelly


--
--------------------------------------------
-- Kelly Corbin
-- kcorbin@theiqgroup.com
--
-- On the web @ http://www.theiqgroup.com
-- The IQ Group, Inc.
-- 6740 Antioch Suite 110
-- Merriam, KS 66202
-- (913)-722-6700
-- Fax (913)722-7264
--------------------------------------------



Reply to: