From: Dick Davies Date: 2007-09-02T16:44:45+09:00 Subject: Re: rsync functionality in Ruby? 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 :) ;Use RSA authentication - a blank passphrase on the key (for cronjobs), or use ssh-agent (for everything else - unit testing etc). -- Rasputin :: Jack of All Trades - Master of Nuns http://number9.hellooperator.net/