In additional to that, I am trying any way I can to deploy site docs:

I keep getting this error:
*[INFO] [site:deploy]
The authenticity of host '208.96.48.200' can't be established.
RSA key fingerprint is 15:6f:d1:60:05:21:dd:43:4b:4d:d6:9e:4f:3b:aa:e4.
Are you sure you wan*t to continue connecting? (yes/no):

I have create a ppk and key from putty, and have added this to my pom.xml

        <site>
            <id>site.internal</id>
            <name>site.internal</name>
            <url>${siteUrl}</url>
        </site>

And here is my settings.xml

        <server>
            <id>site.internal</id>
            <username>[username]</username>
            <password>[password]</password>
            <filePermissions>664</filePermissions>
            <directoryPermissions>755</directoryPermissions>
            <privateKey>c:/ssh/internal-private.ppk</privateKey>
            <configuration>
                <sshExecutable>plink</sshExecutable>
                <scpExecutable>pscp</scpExecutable>
            </configuration>
        </server>

...

                <siteUrl>scp://208.0.50.1/:/var/www/html/site</siteUrl>

I have spent all day on this, and can't find anything that fixes this issue.




On Thu, Jun 5, 2008 at 6:49 AM, Krishnamurthi, Venkat <
[EMAIL PROTECTED]> wrote:

> Hi,
>
> I get the same error when I execute ssh2 -V on my windows XP machine:
>
> C:\ssh2 -V
> 'ssh2' is not recognized as an internal or external command,
> operable program or batch file.
>
> Please help me resolve this.
>
> Thanks,
> Venkat
>
> -----Original Message-----
> From: Mick Knutson [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 04, 2008 7:40 PM
> To: Maven Users List
> Subject: Re: Error deploying to a remote respository using scm
>
> 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-S
> > > NAPS
> > > 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
>
> ---------------------------------------------------------------------
> 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

Reply via email to