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]

Reply via email to