maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: disable strict host checking with ssh wagon
Date Wed, 09 Dec 2009 08:06:25 GMT
Yep, similar to how it is done for HTTP: http://brettporter.wordpress.com/2009/06/16/configuring-maven-http-connections/

I'm not sure how well such a configuration option will survive into M3, etc., though - it's
relying on the way Plexus is injecting the Wagon.

- Brett

On 09/12/2009, at 10:21 AM, Justin Edelson wrote:

> This goes in settings.xml?
> 
> Thanks
> 
> On Dec 8, 2009, at 6:02 PM, Brett Porter <brett@apache.org> wrote:
> 
>> Like so:
>> 
>> <server>
>> <id>deploy.host</id>
>> <configuration>
>>   <knownHostsProvider implementation="org.apache.maven.wagon.providers.ssh.knownhost.NullKnownHostProvider">
>>     <hostKeyChecking>no</hostKeyChecking>
>>   </knownHostsProvider>
>> </configuration>
>> </server>
>> 
>> Cheers,
>> Brett
>> 
>> On 09/12/2009, at 2:54 AM, Justin Edelson wrote:
>> 
>>> I know this is a bad idea, but.... I need to disable host key checking for
>>> wagon-ssh. I don't see an obvious way to do this. The archives show an email
>>> from June on this subject that was never answered, which I hope isn't a sign
>>> that this can't be done :)
>>> 
>>> Thanks,
>>> Justin
>> 
>> --
>> Brett Porter
>> brett@apache.org
>> http://brettporter.wordpress.com/
>> 
>> 
>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

--
Brett Porter
brett@apache.org
http://brettporter.wordpress.com/





---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message