Kiryl Kazakevich wrote:
Hi.

I have an inconvenience using Maven. When I'm calling some targets, I often get 
a lot of messages, like this:

The authenticity of host '...com' can't be established.
RSA key fingerprint is ...
Are you sure you want to continue connecting? (yes/no): yes

So I always have to type "yes". May I add some properties into settings.xml or pom in 
order to supprress this message and set the answer to "yes" automatically?

Thanks.

Best Regards,
Kiryl Kazakevich

Hi,

Create ".ssh" directory under your home directory. Under Windows 2000/XP it is usually C:\Documents and Settings\<your username>. Maven 2 ssh support tries to create known_hosts file there. Please note that Windows Explorer does not allow creating a file or a folder that starts with a period ".", so you wll have to use "mkdir .ssh" on the command prompt. After that, Maven 2 will ask the question only once per host, and save the host fingerprint in .ssh/known_hosts afterwards.

Somebody should really put this thing in a FAQ, or even better, fix the ssh stuff so that it creates .ssh folder automatically.

hope this helps,

Andrius

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

Reply via email to