Re: deploy: invalid private key

2008-05-20 Thread Wayne Fay
No clue why its not working. I would try a symbolic link instead: ln -s ~/.ssh/identity ~/.ssh/id_rsa Wayne On Mon, May 19, 2008 at 5:42 PM, Waiku Ratty <[EMAIL PROTECTED]> wrote: > *I am issues with 'mvn deploy' as my private identity file is not 'id_rsa' > but called 'identity'. I am using mav

deploy: invalid private key

2008-05-19 Thread Waiku Ratty
*I am issues with 'mvn deploy' as my private identity file is not 'id_rsa' but called 'identity'. I am using maven 2.0.7 on my MacBook 10.5.2. Instead of the default ~/.ssh/id_rsa, I have created a ~/.ssh/identity file (4096 bit DSA). There are no issues in using this private file for all other ss

Re: deploy: invalid private key

2006-03-24 Thread Bruno Patini Furtado
The identity file permissions are correct, my guess is about the format of my identity file, I've encripted my private key using the RSA algorithm, because in my intranet the network admins configured the SSH version 1. Could the classes in the project com.jcraft.jsch. have some problem with it? S

Re: deploy: invalid private key

2006-03-24 Thread Arnaud Bailly
Hi, May be you can have a lot more debugging info by passing the environnemnet variable -Djavax.net.ssl=debug (or -Djavax.net.debug=ssl, I'm never sure :-)). Aren't there any issue regarding rights on your file ? In ssh2 for example, keys are not used if they don't have 0600 rights. Regards, --

Re: deploy: invalid private key

2006-03-24 Thread Bruno Patini Furtado
First of all, thanks for trying to help :) Yes, I'm certain tha the private key is located at "/.ssh/identity". I could even configure my ssh-agent. The error message display by 'mvn deploy -e' is: [INFO] [deploy:deploy] [INFO] Retrieving previous build number from ssh-repository Identity: com.j

Re: deploy: invalid private key

2006-03-22 Thread Stephen Duncan
Ok. So, outside of Maven, you can ssh using that username and passphrase. And you're certain that the private key is located at "/.ssh/identity"? Normally it is "/.ssh/id_dsa" or "/.ssh/id_rsa". Finally, could you go ahead and send the error message you get? -Stephen On 3/22/06, Bruno Patini

Re: deploy: invalid private key

2006-03-22 Thread Bruno Patini Furtado
The settings.xml has the real values. My mistake in using different notations. On 3/21/06, Stephen Duncan <[EMAIL PROTECTED]> wrote: > > Where you have $user_name and $usr_home do you have in your actual > settings.xml the real values? Wasn't clear since you used > later to represent a value act

Re: deploy: invalid private key

2006-03-22 Thread Bruno Patini Furtado
Anyone has experienced this problem? On 3/21/06, Bruno Patini Furtado <[EMAIL PROTECTED]> wrote: > > I'm using GNU/Linux, Ubuntu 5.10 distro :) > > > On 3/21/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > > > What operating system? > > > > "Not using putty" -- well what ARE you using? > > > > Wayne

Re: deploy: invalid private key

2006-03-21 Thread Stephen Duncan
Where you have $user_name and $usr_home do you have in your actual settings.xml the real values? Wasn't clear since you used later to represent a value actually replaced in your files... -Stephen On 3/21/06, Bruno Patini Furtado <[EMAIL PROTECTED]> wrote: > Hi folks, > I'm trying to deploy a ar

Re: deploy: invalid private key

2006-03-21 Thread Bruno Patini Furtado
I'm using GNU/Linux, Ubuntu 5.10 distro :) On 3/21/06, Wayne Fay <[EMAIL PROTECTED]> wrote: > > What operating system? > > "Not using putty" -- well what ARE you using? > > Wayne > > On 3/21/06, Bruno Patini Furtado <[EMAIL PROTECTED]> wrote: > > Hi folks, > > I'm trying to deploy a artifact to a

Re: deploy: invalid private key

2006-03-21 Thread Wayne Fay
What operating system? "Not using putty" -- well what ARE you using? Wayne On 3/21/06, Bruno Patini Furtado <[EMAIL PROTECTED]> wrote: > Hi folks, > I'm trying to deploy a artifact to a local intranet repository using SCP, I > can establish a ssh session using my pass phrase as expected, but I'm

deploy: invalid private key

2006-03-21 Thread Bruno Patini Furtado
Hi folks, I'm trying to deploy a artifact to a local intranet repository using SCP, I can establish a ssh session using my pass phrase as expected, but I'm having to success in configuring maven to make it. My settings.xml servers tag goes like this: ssh-repository $user_name