Sorry, it's always worked for me to do the following:

Open a command prompt and run:
cd %HOMEPATH%
mkdir .ssh

And then from there the known_hosts file is created automatically when
you say "yes" to trust the source.

-Stephen

On 2/9/06, Luca Gmail <[EMAIL PROTECTED]> wrote:
> Sorry for the insistence, but im becoming crazy!!!
>
>
>
> Somebody can suggets me how create a right known_hosts file?
>
>
>
>
>
>
>
>   _____
>
> From: luca rasconi [mailto:[EMAIL PROTECTED]
> Sent: giovedì 9 febbraio 2006 16.48
> To: Maven Users List
> Subject: Re: [m2] ignore known hosts
>
>
>
> i did it. it doesn't work!!!!!
>
> but there isn't an env variable namend USER_HOME. there is one named
> HOMEPATH whom value is C:\Documents and Settings\<user id>.
> i created  USER_HOME=C:\Documents and Settings\<user id> and a dir .ssh
> within the file known_hosts copied from another host which use ssh to
> connect to the target host.
>
> i don't know. but someone is able to deploy in this way?
>
> tnx,
> Luca
>
>
>
>
> On 2/8/06, Michael Fiedler < <mailto:[EMAIL PROTECTED]>
> [EMAIL PROTECTED]> wrote:
>
> If you are a Windows user, make a folder named .ssh in %USER_HOME%, i.e
> C:\Documents and Settings\<user id>\.ssh
>
> Michael
>
>
> -----Original Message-----
> From: Luca Gmail [mailto:[EMAIL PROTECTED]
> Sent: Friday, February 03, 2006 10:39 AM
> To: 'Maven Users List'
> Subject: RE: [m2] ignore known hosts
>
> In ither words:
> where wagon-ssh look for known_hosts file?
>
> tnx
>
> -----Original Message-----
> From: Rasconi Luca (u.e.) [mailto: [EMAIL PROTECTED]
> <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]
>
>
>
>
>


--
Stephen Duncan Jr
www.stephenduncanjr.com

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

Reply via email to