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]
