From: Bob Hutchison Date: 2007-09-04T22:11:41+09:00 Subject: Re: rsync functionality in Ruby? On 2-Sep-07, at 3:44 AM, Dick Davies wrote: > On 01/09/07, Bob Hutchison wrote: > >> Is this rsync+ssh? If so, what did you handle passwords when making >> the connection (I wound up going though disgusting conniptions using >> expect)? I know that you can avoid login by setting up .ssh/ >> known_hosts but that is frowned upon in some circles. > > If you're dicking around with expect you have the > password in plain text somewhere along the line, so you'd be lucky to > avoid frowns even then :) I know, funny isn't it :-) > > ;Use RSA authentication - a blank passphrase on the key (for > cronjobs), or > use ssh-agent (for everything else - unit testing etc). I think I'm going to push a bit on the RSA authentication, see where I get. Cheers, Bob > > -- > Rasputin :: Jack of All Trades - Master of Nuns > http://number9.hellooperator.net/ > ---- Bob Hutchison -- tumblelog at http:// www.recursive.ca/so/ Recursive Design Inc. -- weblog at http://www.recursive.ca/ hutch http://www.recursive.ca/ -- works on http://www.raconteur.info/ cms-for-static-content/home/