Thank you very much!

I have successfully been able to upload during a mvn deploy.

I followed that tutorial and everything is good. I only made a couple small changes:

in settings.xml, I made server->id agree with distributionManagement->repository (this didn't seem to change anything, immediately, anyway)

and I appended my public key to the servers ~/.ssh/authorized_keys file

It's not ideal, but it works!

Thanks again

Richard

Vinod Panicker wrote:
On 5/11/06, Richard Gould <[EMAIL PROTECTED]> wrote:

While issuing a release:perform command for the GeoTools project, I seem
unable to upload the packages using SCP to the repository server.

I have tried both the "scp" and "scpexe" methods. Each give a different
error. The full error messages are at the bottom of this email. The
command I used to execute them was "mvn -X release:perform".


<snip/>

After struggling for a whole day trying to get this to work, I've
managed to do it.  I have currently managed to get scp working using
public key authentication.  It was not working with the standard
username/password approach.

To get public key authentication working, read this page -
http://gerodt.homeip.net/blog/gero/2005/10/30/1130698130518.html

Only discrepancy I found in the above process is that instead of
putting the server's public key on the client machine, it should be
the other way around.  Also, the clients public key needs to be in the
server's authorized_keys file.

Do holler if you need more help.

Regards,
Vinod.

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



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

Reply via email to