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 <[email protected]> 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 >> [email protected] >> http://brettporter.wordpress.com/ >> >> >> >> >> >> --------------------------------------------------------------------- >> 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] > -- Brett Porter [email protected] http://brettporter.wordpress.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
