Yeah, I tried changing the private key format to OpenSSH. Here's what
I've found. You either have to specify the connection info in the SVN
config file OR in subclipse. Mixing is not an option. For example, I
was getting authentication cancelled when i entered the username in
the subclipse dialog box but left the password authentication empty
opting instead for the config file with it's private-key. So I left
both the username and password box empty, passed -l username to the
config file and it worked fine. Does that sound about right?
On 8/26/05, Alexander Kitaev <alex@tmate.org> wrote:
> > Also, I checked the subclipse settings to make sure I'm using
> > JavaSVN, but this exception seems to indicate it's using
> > javaHL, any thoughts on that?
> You're using JavaSVN, as it uses JSCH library to establish ssh connection.
>
> > Error validating location:
> > "org.tigris.subversion.javahl.ClientException:
> > com.jcraft.jsch.JSchException: invaid private key:
> > C:\Bradley\private-key.ppk"
> As I wrote before, *.ppk format could not be understood by JSCH, you should
> export your key to an OpenSSH format.
>
> > However, if I enter the username in the dialog box and take
> > the "-l username" out of the config file, it seems to work
> > fine. Is there any way to clear Eclipse's cached passwords,
> > etc. to make sure that's actually trying to read my file.
> You may delete all files from "C:\Docs and Settings\username\Application
> Data\subversion\auth" directory to clear credentials cache.
> Also, you may specify another configuration directory to use in Subclipse
> preferences, so that default auth cache will no longer be used.
>
> Alexander Kitaev,
> TMate Software,
> http://tmatesoft.com/
>
> > -----Original Message-----
> > From: Bradley Wagner [mailto:bradley.wagner@gmail.com]
> > Sent: Friday, August 26, 2005 10:35 PM
> > To: users@subclipse.tigris.org
> > Subject: Re: Subclipse: Authentication cancelled using SVN 1.2.1
> >
> > The behavior seems very erratic. Sometimes authentication is
> > cancelled and other times it's not. I'm getting the following
> > exception:
> >
> > Error validating location:
> > "org.tigris.subversion.javahl.ClientException:
> > com.jcraft.jsch.JSchException: invaid private key:
> > C:\Bradley\private-key.ppk"
> >
> > However, if I enter the username in the dialog box and take
> > the "-l username" out of the config file, it seems to work
> > fine. Is there any way to clear Eclipse's cached passwords,
> > etc. to make sure that's actually trying to read my file.
> >
> > Also, I checked the subclipse settings to make sure I'm using
> > JavaSVN, but this exception seems to indicate it's using
> > javaHL, any thoughts on that?
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> > For additional commands, e-mail: users-help@subclipse.tigris.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
> For additional commands, e-mail: users-help@subclipse.tigris.org
>
>
--
Bradley Mitchell Wagner
bradley.wagner@gmail.com
bradley.wagner@hannonhill.com
(404) 668-1342 (cell)
(404) 378-1317 (home)
Received on Sat Aug 27 07:00:38 2005