Mykel Alvis wrote on Friday, July 28, 2006 8:02 AM:
> I'm just a caveman programmer, and my attempts to use the wagon-ssh
> extension were failing under strange circumstances. Come
> close around the
> fire while I tell the story of what I call "The Demon of Attempting To
> Deploy Using SSH Under Windows".
>
> It all started yesterday.....
> {cue the Scooby Doo wavy lines, and/or the Mr. Peabody and Sherman
> noises...}
>
> I had the latest update of the maven eclipse plugin as well as maven
> 2.0.4installed on the machine that I ran these scenarios with. The
> username on the Windows box I was using is "Mykel". I had already
> supplied the receiving host with my public key, which I generated
> using putty-0.58
>
>
> In my pom.xml :
> <build>
> <extensions>
> <extension>
> <groupId>org.apache.maven.wagon</groupId>
> <artifactId>wagon-ssh</artifactId>
> <version>1.0-beta-1</version>
> </extension>
> </extensions>
> </build>
> <distributionManagement>
> <site>
> <id>site-id</id>
> <name>Sourceforge Site</name>
>
> <url>scp://shell.sourceforge.net/home/groups/r/rp/rpgee/htdocs/</url>
> </site> </distributionManagement>
>
>
> In my settings.xml :
> <server>
> <id>site-id</id>
> <username>myusername</username>
> <privateKey>c:/putty/sourceforge-Shell.ppk</privateKey>
> <passphrase>passphrase</passphrase>
> <directoryPermissions>775</directoryPermissions>
> <filePermissions>664</filePermissions>
> </server>
>
> The .ppk file indicated is the same one I was supplying to
> pageant to allow
> my caveman brain to not have to remember the passwords for
> the remote hosts.
Note, that PuTTY's keys have an own format. You must export the key in the
proper format (can be done with the same tool you are creating the PuTTY key -
just can't remember the name).
[snip]
- Jörg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]