This is the output of ssh2 -V:

ssh2: SSH Tectia Server 4.4.8 on i686-pc-linux-gnu
Build: 21
Crypto library version: SSH Cryptographic Library, version 1.2.6
FIPS certification mode: DISABLED
Product: SSH Tectia Server (A)
License type: commercial

Thanks,
Venkat 

-----Original Message-----
From: Wayne Fay [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 04, 2008 7:36 PM
To: Maven Users List
Subject: Re: Error deploying to a remote respository using scm

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-ss
> h-
> 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-SNA
> PS
> 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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to