That doesn't seem to work, but I can get it to work by passing a password on the command line so I can get the scp to pull a file, but what I really want to do is pull a bunch of remote files using a fileset to a local directory and the parameters that I specify is very confussing from the documentation.
Does anybody know how I would specify this using a fileset? Eric -----Original Message----- From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] Sent: Thursday, June 08, 2006 1:12 PM To: Ant Users List Subject: RE: ANT's Scp fails without a passphase You have not specified a knownhosts file. Either specify a knownhosts file or trust="true". -Rob A > -----Original Message----- > From: Eric Wood [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 08, 2006 10:07 AM > To: Ant Users List > Subject: RE: ANT's Scp fails without a passphase > > Tried that and a bogus passphase and I still get > > BUILD FAILED > /llbean/tools/ant/ecomm/build.xml:11: com.jcraft.jsch.JSchException: > Auth cancel > > <scp verbose="true" > todir="." > file="[EMAIL PROTECTED]:/home/prodload/test" > keyfile="/home/prodload/.ssh/id_dsa" > passphrase="" /> > > Eric > > -----Original Message----- > From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 08, 2006 12:57 PM > To: Ant Users List > Subject: RE: ANT's Scp fails without a passphase > > Specify an empty passphrase. -Rob A > > > -----Original Message----- > > From: Eric Wood [mailto:[EMAIL PROTECTED] > > Sent: Thursday, June 08, 2006 9:53 AM > > To: Ant Users List > > Subject: ANT's Scp fails without a passphase > > > > I can't seem to run ant's scp without a passphase even > though the key > > that I generated and have distributed to the remote machine was > > generated without a passphase. Any idea how I can get ant's scp to > > work without specifying a passphase? > > > > Eric > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] For additional > commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] For additional > commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]