From: Scott Brooks Date: 2003-02-10T12:05:37+09:00 Subject: Re: Executing interactive system commands A better solution would be to use a public/private key to do passwordless authentication. This may not fit in your environment, but using a passwordless key would solve your problem. On Sun, 2003-02-09 at 02:38, Vitaly Semkin wrote: > Hello. > > I need to execute SCP (secure copy) command from Ruby script on Windows. > The problem is that this command needs a password to be typed and > supports no switch or option to provide the password. > > Is there any way to catch the command's output and give it the passwod? > > > P.S. Sorry for my bad English. -- Scott Brooks