on XP, I use that command adn get: *C:\opt\baselogic>ssh2 -V 'ssh2' is not recognized as an internal or external command, operable program or batch file.
C:\opt\baselogic>ssh -V 'ssh' is not recognized as an internal or external command, operable program or batch file. C:\opt\baselogic> * Then when I try to deploy with scpexe it does the same thing. On Wed, Jun 4, 2008 at 4:36 PM, Wayne Fay <[EMAIL PROTECTED]> wrote: > The stack trace says very clearly: > Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed to > authenticate. (or you have too old ssh2 installed, check with ssh2 -V) > > So, what does "ssh2 -V" say? > > Wayne > > On Wed, Jun 4, 2008 at 5:12 PM, Krishnamurthi, Venkat > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I'm trying to deploy a snapshot jar to a remote repository. I followed > > the instructions given here: > > > > http://maven.apache.org/plugins/maven-deploy-plugin/examples/deploy-ssh- > > external.html > > > > However, when I execute mvn deploy, I get the following error: > > > > [INFO] [deploy:deploy] > > [INFO] Retrieving previous build number from scp_snapshot > > [WARNING] repository metadata for: 'snapshot demo:demo:1.0-SNAPSHOT' > > could not be retrieved from repository: scp_snapshot due to an error: > > Exit code: 78 - warning: Authentication failed. > > Disconnected (local); connection lost (Connection closed by remote > > host.). > > Disconnect reason 10, exit code = 74scp: warning: ssh2 client failed to > > authenticate. (or you have too old ssh2 installed, check with ssh2 -V) > > > > [INFO] Repository 'scp_snapshot' will be blacklisted > > Uploading: > > scpexe://eqp2fcc:1080/scp_snapshot/demo/demo/1.0-SNAPSHOT/demo-1.0-SNAPS > > HOT.jar > > [INFO] > > ------------------------------------------------------------------------ > > [ERROR] BUILD ERROR > > [INFO] > > ------------------------------------------------------------------------ > > [INFO] Error deploying artifact: Error executing command for transfer > > > > Exit code 74 - warning: Authentication failed. > > Disconnected (local); connection lost (Connection closed by remote > > host.). > > Disconnect reason 10, exit code = 74 > > > > My pom.xml has the following distributionManagement: > > > > > > <distributionManagement> > > <repository> > > <uniqueVersion>false</uniqueVersion> > > <id>scp_snapshot</id> > > <name>SCP Snapshot Repository</name> > > <url>scpexe://eqp2fcc:1080/scp_snapshot</url> > > <layout>default</layout> > > </repository> > > </distributionManagement> > > > > Also, I added the following to my settings.xml > > > > <servers> > > <server> > > <id>scp_snapshot</id> > > <username>my_username</username> > > <password>my_password</password> > > </server> > > </servers> > > > > Please help me resolve this issue. > > > > > > Thanks, > > Venkat > > > > --------------------------------------------------------------------- > > 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] > > -- --- Thank You… Mick Knutson BASE Logic, inc. Website: http://baselogic.com Blog: http://baselogic.com/blog BLiNC Magazine: http://blincmagazine.com Linked IN: http://linkedin.com/in/mickknutson DJ Mick: http://djmick.com MySpace: http://myspace.com/mickknutson Tahoe: http://tahoe.baselogic.com
