Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » svn+ssh key file
svn+ssh key file [message #536920] Mon, 31 May 2010 13:54 Go to next message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 350
Registered: July 2009
Senior Member
Hello everybody,

I am trying to get rid of svn authentication errors in a headless
Buckminster build (Hudson-driven) with svn+ssh access scheme using private
key files.
I can't cope with getting the credentials recognized, tried with subversive
as well as subclipse.
I assume the problem is that the repository user is not the same one as the
hudson user, so that the private key file is not found. Is there a way to
specify the key file ?

My rmap spec looks like this:
<uri
format="svn+ssh://{0}@{1}/trunk/{2}?moduleAfterTag&amp;moduleAfterBranch">
<bc:propertyRef key="my.svn.user" />
<bc:propertyRef key="my.svn.repository" />
<bc:propertyRef key="buckminster.component" />
</uri>

Error with subversive:
org.eclipse.team.svn.core.connector.SVNConnectorAuthenticati onException:
svn: Authentication required for '<uri>'


Any help appreciated.

Regards,
Axel
Re: svn+ssh key file [message #536929 is a reply to message #536920] Mon, 31 May 2010 14:10 Go to previous messageGo to next message
Michal Ruzicka is currently offline Michal RuzickaFriend
Messages: 23
Registered: July 2009
Junior Member
Hi Axel,
you should be able to make it work by:
- making sure you are using the SVNKit
- and then following the instructions given at:
http://svnkit.com/kb/user-guide-config-settings.html in the section
"SVN+SSH authentication with private key in Eclipse"

Note that I haven't tested that approach though, so please don't hold me
responsible if it doesn't work out.
HTH
Michal

Dne 31.5.2010 15:54, Axel Guckelsberger napsal(a):
> Hello everybody,
>
> I am trying to get rid of svn authentication errors in a headless
> Buckminster build (Hudson-driven) with svn+ssh access scheme using private
> key files.
> I can't cope with getting the credentials recognized, tried with subversive
> as well as subclipse.
> I assume the problem is that the repository user is not the same one as the
> hudson user, so that the private key file is not found. Is there a way to
> specify the key file ?
>
> My rmap spec looks like this:
> <uri
> format="svn+ssh://{0}@{1}/trunk/{2}?moduleAfterTag&amp;moduleAfterBranch">
> <bc:propertyRef key="my.svn.user" />
> <bc:propertyRef key="my.svn.repository" />
> <bc:propertyRef key="buckminster.component" />
> </uri>
>
> Error with subversive:
> org.eclipse.team.svn.core.connector.SVNConnectorAuthenticati onException:
> svn: Authentication required for '<uri>'
>
>
> Any help appreciated.
>
> Regards,
> Axel
Re: svn+ssh key file [message #536935 is a reply to message #536929] Mon, 31 May 2010 14:46 Go to previous messageGo to next message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 350
Registered: July 2009
Senior Member
Hi Michal,

thanks for your reply.

> Hi Axel,
> you should be able to make it work by:
> - making sure you are using the SVNKit
How can I ensure that for the headless eclipse used during the build?

> - and then following the instructions given at:
> http://svnkit.com/kb/user-guide-config-settings.html in the section
> "SVN+SSH authentication with private key in Eclipse"
Just started to play with what you've written at
https://bugs.eclipse.org/bugs/show_bug.cgi?id=310204#c3 (thanks to Henrik
for pointing this out), but no success yet.

Greetings
Axel


>
> Note that I haven't tested that approach though, so please don't hold me
> responsible if it doesn't work out.
> HTH
> Michal
>
> Dne 31.5.2010 15:54, Axel Guckelsberger napsal(a):
>> Hello everybody,
>>
>> I am trying to get rid of svn authentication errors in a headless
>> Buckminster build (Hudson-driven) with svn+ssh access scheme using
>> private key files.
>> I can't cope with getting the credentials recognized, tried with
>> subversive as well as subclipse.
>> I assume the problem is that the repository user is not the same one as
>> the hudson user, so that the private key file is not found. Is there a
>> way to specify the key file ?
>>
>> My rmap spec looks like this:
>> <uri
>>
format="svn+ssh://{0}@{1}/trunk/{2}?moduleAfterTag&amp;moduleAfterBranch">
>> <bc:propertyRef key="my.svn.user" />
>> <bc:propertyRef key="my.svn.repository" />
>> <bc:propertyRef key="buckminster.component" />
>> </uri>
>>
>> Error with subversive:
>> org.eclipse.team.svn.core.connector.SVNConnectorAuthenticati onException:
>> svn: Authentication required for '<uri>'
>>
>>
>> Any help appreciated.
>>
>> Regards,
>> Axel
Re: svn+ssh key file [message #536942 is a reply to message #536935] Mon, 31 May 2010 15:24 Go to previous messageGo to next message
Michal Ruzicka is currently offline Michal RuzickaFriend
Messages: 23
Registered: July 2009
Junior Member
Dne 31.5.2010 16:46, Axel Guckelsberger napsal(a):
> Hi Michal,
>
> thanks for your reply.
>
>> Hi Axel,
>> you should be able to make it work by:
>> - making sure you are using the SVNKit
> How can I ensure that for the headless eclipse used during the build?
Headless Buckminster bundles the SVNKit by default (both with
Subversiove and Subclipse). So you should be fine.
>
>> - and then following the instructions given at:
>> http://svnkit.com/kb/user-guide-config-settings.html in the section
>> "SVN+SSH authentication with private key in Eclipse"
> Just started to play with what you've written at
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=310204#c3 (thanks to Henrik
> for pointing this out), but no success yet.
This unfortunately won't work with SVNKit, as it uses yet another java
implementation of SSH than the preferences mentioned in the bugzilla are
targeted at.
You will need to set the properties mentioned at the
http://svnkit.com/kb/user-guide-config-settings.html page.
If you use the Buckminster plugin for Hudson
(http://wiki.hudson-ci.org/display/HUDSON/Buckminster+PlugIn) then you
need to supply those properties to your "Run Buckminster" build step as
"JVM Arguments" in the "Advanced Options" section. Something like this:
-Dsvnkit.ssh2.key=/path/to/private/key/file

HTH
Michal
Re: svn+ssh key file [message #536945 is a reply to message #536942] Mon, 31 May 2010 15:40 Go to previous messageGo to next message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 350
Registered: July 2009
Senior Member
Thank you very much! It works - finally :-)

Regards
Axel


Michal Ruzicka wrote:

> Dne 31.5.2010 16:46, Axel Guckelsberger napsal(a):
>> Hi Michal,
>>
>> thanks for your reply.
>>
>>> Hi Axel,
>>> you should be able to make it work by:
>>> - making sure you are using the SVNKit
>> How can I ensure that for the headless eclipse used during the build?
> Headless Buckminster bundles the SVNKit by default (both with
> Subversiove and Subclipse). So you should be fine.
>>
>>> - and then following the instructions given at:
>>> http://svnkit.com/kb/user-guide-config-settings.html in the section
>>> "SVN+SSH authentication with private key in Eclipse"
>> Just started to play with what you've written at
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=310204#c3 (thanks to Henrik
>> for pointing this out), but no success yet.
> This unfortunately won't work with SVNKit, as it uses yet another java
> implementation of SSH than the preferences mentioned in the bugzilla are
> targeted at.
> You will need to set the properties mentioned at the
> http://svnkit.com/kb/user-guide-config-settings.html page.
> If you use the Buckminster plugin for Hudson
> (http://wiki.hudson-ci.org/display/HUDSON/Buckminster+PlugIn) then you
> need to supply those properties to your "Run Buckminster" build step as
> "JVM Arguments" in the "Advanced Options" section. Something like this:
> -Dsvnkit.ssh2.key=/path/to/private/key/file
>
> HTH
> Michal
Re: svn+ssh key file [message #536965 is a reply to message #536945] Mon, 31 May 2010 17:14 Go to previous messageGo to next message
Axel Guckelsberger is currently offline Axel GuckelsbergerFriend
Messages: 350
Registered: July 2009
Senior Member
The following exceptions do still occur during the cquery import. Don't know
whether it could be a bug, maybe it can be of interest for you.

http://pastebin.com/k3RMHCf3

Looks like the team provider wants to open a ui element.

Greetings
Axel


Axel Guckelsberger wrote:

> Thank you very much! It works - finally :-)
>
> Regards
> Axel
>
>
> Michal Ruzicka wrote:
>
>> Dne 31.5.2010 16:46, Axel Guckelsberger napsal(a):
>>> Hi Michal,
>>>
>>> thanks for your reply.
>>>
>>>> Hi Axel,
>>>> you should be able to make it work by:
>>>> - making sure you are using the SVNKit
>>> How can I ensure that for the headless eclipse used during the build?
>> Headless Buckminster bundles the SVNKit by default (both with
>> Subversiove and Subclipse). So you should be fine.
>>>
>>>> - and then following the instructions given at:
>>>> http://svnkit.com/kb/user-guide-config-settings.html in the section
>>>> "SVN+SSH authentication with private key in Eclipse"
>>> Just started to play with what you've written at
>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=310204#c3 (thanks to
>>> Henrik for pointing this out), but no success yet.
>> This unfortunately won't work with SVNKit, as it uses yet another java
>> implementation of SSH than the preferences mentioned in the bugzilla are
>> targeted at.
>> You will need to set the properties mentioned at the
>> http://svnkit.com/kb/user-guide-config-settings.html page.
>> If you use the Buckminster plugin for Hudson
>> (http://wiki.hudson-ci.org/display/HUDSON/Buckminster+PlugIn) then you
>> need to supply those properties to your "Run Buckminster" build step as
>> "JVM Arguments" in the "Advanced Options" section. Something like this:
>> -Dsvnkit.ssh2.key=/path/to/private/key/file
>>
>> HTH
>> Michal
Re: svn+ssh key file [message #537016 is a reply to message #536965] Mon, 31 May 2010 22:44 Go to previous message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
I think you should log that issue.
Regards
- henrik

On 5/31/10 7:14 PM, Axel Guckelsberger wrote:
> The following exceptions do still occur during the cquery import. Don't know
> whether it could be a bug, maybe it can be of interest for you.
>
> http://pastebin.com/k3RMHCf3
>
> Looks like the team provider wants to open a ui element.
>
> Greetings
> Axel
>
>
> Axel Guckelsberger wrote:
>
>> Thank you very much! It works - finally :-)
>>
>> Regards
>> Axel
>>
>>
>> Michal Ruzicka wrote:
>>
>>> Dne 31.5.2010 16:46, Axel Guckelsberger napsal(a):
>>>> Hi Michal,
>>>>
>>>> thanks for your reply.
>>>>
>>>>> Hi Axel,
>>>>> you should be able to make it work by:
>>>>> - making sure you are using the SVNKit
>>>> How can I ensure that for the headless eclipse used during the build?
>>> Headless Buckminster bundles the SVNKit by default (both with
>>> Subversiove and Subclipse). So you should be fine.
>>>>
>>>>> - and then following the instructions given at:
>>>>> http://svnkit.com/kb/user-guide-config-settings.html in the section
>>>>> "SVN+SSH authentication with private key in Eclipse"
>>>> Just started to play with what you've written at
>>>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=310204#c3 (thanks to
>>>> Henrik for pointing this out), but no success yet.
>>> This unfortunately won't work with SVNKit, as it uses yet another java
>>> implementation of SSH than the preferences mentioned in the bugzilla are
>>> targeted at.
>>> You will need to set the properties mentioned at the
>>> http://svnkit.com/kb/user-guide-config-settings.html page.
>>> If you use the Buckminster plugin for Hudson
>>> (http://wiki.hudson-ci.org/display/HUDSON/Buckminster+PlugIn) then you
>>> need to supply those properties to your "Run Buckminster" build step as
>>> "JVM Arguments" in the "Advanced Options" section. Something like this:
>>> -Dsvnkit.ssh2.key=/path/to/private/key/file
>>>
>>> HTH
>>> Michal
>
Previous Topic:p2 build fails with java1.5 but works with 1.6
Next Topic:"authentication cancelled" error headless, but works in IDE
Goto Forum:
  


Current Time: Sun Jul 25 08:28:15 GMT 2021

Powered by FUDForum. Page generated in 0.02155 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top