maven-wagon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fhomasp <>
Subject SFTP wagon host key requires user input
Date Thu, 09 Sep 2010 07:57:22 GMT


I've been asked to use SFTP to upload artifacts to our webservers using
Maven2.  I've gotten this to work like this:


This works well on my local machine, however I need to get this to work on
the continuous build server Hudson.  The problem is that the SFTP target
machine asks to store a host key on the connecting server.  I'd need Hudson
to answer "yes" to the question however I can't seem to do this, as it's
Does anyone know how I can store such a key in advance or use a specific tag
for this?

I know I can define the target server in the settings.xml with an extra
property <privateKey>, so would something similar work as well?  i'm
thinking about something like <publicKey>, and/or store the host key on the
Hudson server? 

Or any other way to resolve this? 

View this message in context:
Sent from the Wagon - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message