Hi Sébastien,

> -----Original Message-----
> From: Sébastien Arbogast [mailto:[EMAIL PROTECTED]
> Sent: mardi 16 août 2005 15:53
> To: [email protected]
> Subject: [MavenBook] Using a public/private key scheme for site deployment
> 
> Hi,
> 
> First of all I'd like to thank and congratulate Vincent Massol and Tim
> O'Brien for this excellent book I'm reading right now (Maven, A
> Developer's
> Notebook). It's really excellent and enables me to use Maven at full
> capacity.

Thanks a lot! You're always sure to get a prompt answer with such praise...
;-)
 
> But I have a problem with one of the tips concerning site deployment
> (Chapter 4, page 124) which recommends to use a public/private key scheme
> for SSH when deploying the site. The problem is that I've just installed
> Cygwin and it's OpenSSH port on my windows box, but I don't know how to
> configure it to use that scheme. It works great using password for
> artifact
> deployment, but for site deployment, it hangs because of authentication
> failure.

There are different ways of configuring ssh on one's own machine. Here's
what I do:
- I use putty and plink
- Put them in your path
- Create a session using putty and configure it to use SSH. Very important:
Save the session using the server's name as the session's name. For example
if you're connecting to people.apache.org, save the session as
"people.apache.org". When you do this plink automatically finds the correct
session configured for SSH
- Then tell maven to use plink as the ssh client. Put the following in your
properties:

maven.ssh.executable = plink
maven.scp.executable = pscp

That's the easiest. Alternatively you could use pageant but using the
session name's trick is neat I think.

[snip]

I'd love to put this as a mavenbook tip but it's a bit too unrelated to
Maven I think... :-)

Hope it helps,
-Vincent






___________________________________________________________________________
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez cette version sur http://fr.messenger.yahoo.com

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

Reply via email to