It's not currently configurable to ignore unknown hosts (-B can be
used to avoid the question, but the build will just fail instead).

The known hosts file is read from ${user.home}/.ssh/known_hosts

On 2/4/06, Luca Gmail <[EMAIL PROTECTED]> wrote:
> In ither words:
> where wagon-ssh look for known_hosts file?
>
> tnx
>
> -----Original Message-----
> From: Rasconi Luca (u.e.) [mailto:[EMAIL PROTECTED]
> Sent: venerdì 3 febbraio 2006 14.38
> To: Maven Users List
> Subject: [m2] ignore known hosts
>
> During the artifacts deploy I use scp to copy it to my repository.
>
> Is there a way to skip the authenticity of the repository's host?
>
>
>
> Tnx,
>
> Luca
>
>
>
> This is the ant task I use:
>
> <target name="test-deploy" depends="initTaskDefs" >
>
>             <artifact:install-provider artifactId="wagon-ssh"
> version="1.0-alpha-5"/>
>
>
>
>             <artifact:deploy file="jar/${jar.name}">
>
>             <remoteRepository
> url="scp://myhost.myhost.it/sw/alive/instance/jetty/docroot/repository">
>
>                         <authentication username="xxxx" />
>
>             </remoteRepository>
>
>             <pom refid="maven.project"/>
>
>             </artifact:deploy>
>
> </target>
>
>
>
>
>
> Thisi is the response:
>
>
>
> [artifact:install-provider] Installing provider:
> org.apache.maven.wagon:wagon-ssh:jar:1.0-alpha-5
>
> [artifact:deploy] Deploying to
> scp://192.168.25.217/sw/alive/instance/jetty/docroot/repository
>
> [artifact:deploy] The authenticity of host '192.168.25.217' can't be
> established.
>
> [artifact:deploy] RSA key fingerprint is
> 4e:be:74:ba:77:79:a0:70:4e:a4:ec:55:20:02:02:54.
>
> [artifact:deploy] Are you sure you want to continue connecting?
> (yes/no):
>
>
>
> ---------------------------------------------------------------------
> 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