No, sorry - you can't use a password with scpexe as we can't read the input. Generally it is used with an ssh-agent and private/public key pair.
- Brett On 11/2/05, KC Baltz <[EMAIL PROTECTED]> wrote: > Home directory bug filed. > > scpexe is failing. It complains with the following message: > > Permission denied (publickey,password) > > I'm guessing it doesn't know how to pass my password. I have a <server> > defined in my settings that appears to work with sftp and scp, so I don't > think that's it. > > Any ideas? > > K.C. > > -----Original Message----- > From: Brett Porter [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 01, 2005 4:30 PM > To: Maven Users List > Subject: Re: [m2] Help! scp, sftp deploy is failing > > > Please file a bug on the home directory thing. No progress on the > "session is down" issue just yet, unfortunately. > > There is another alternative: scpexe, or standard ftp. See the > documentation for details. > > - Brett > > On 11/2/05, KC Baltz <[EMAIL PROTECTED]> wrote: > > I'm trying to switch our development to Maven2 and I'm having trouble > > because I can't seem to get scp or sftp to work with Maven. > > > > scp dies because it can't cd to my home directory on the target server > > (Home directories aren't mounted on that server). It looks like the > > following: > > > > > > : Uploading: > > scp://cvs.copart.com/cvs/maven/com/copart/core/core/1.0-SNAPSHOT/core-1.0-20051102.002057-8.jar > > [INFO] > > ---------------------------------------------------------------------------- > > [ERROR] BUILD ERROR > > [INFO] > > ---------------------------------------------------------------------------- > > [INFO] Error deploying artifact: Error performing commands for file transfer > > > > Could not chdir to home directory /export/home/kcbaltz: No such file or > > directory > > > > > > > > sftp fails with the error message, "session is down". I think I found a > > JIRA issue related to this. Is there any progress on a fix? > > > > > > Help please! > > > > K.C. > > > > > > --------------------------------------------------------------------- > 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]
