Hi,

Search "putty generate key" and you will find some site like :
http://kb.siteground.com/article/How_to_generate_an_SSH_key_on_Windows_using_PuTTY.html.

And generate a key in the supported format by your server.

br,

Vincent

________________________________
From: jenkinsci-users@googlegroups.com [jenkinsci-users@googlegroups.com] on 
behalf of Xavier NOPRE [xno...@gmail.com]
Sent: Wednesday, May 09, 2012 11:53 AM
To: jenkinsci-users@googlegroups.com
Subject: Re: CVS and extssh

Hi all,

Thanks for your replies and sorry for my delay to answer ...

I have tried your solutions. I have installed Putty and defined a CVS_RSH env 
variable with the path "c:\Program Files\PuTTY\plink.exe". No success ...

But today, I saw that Jenkins proposed me to install CVS plug-in. I do it. Now, 
the configuration is not the same, I can see a field "Private Key Location" 
with value "C:\Documents and Settings\Default User/.ssh/id_rsa", etc ... And 
now, in the job console, the error is :


ERROR: CVS Authentication failed: null
org.netbeans.lib.cvsclient.connection.AuthenticationException<http://stacktrace.jenkins-ci.org/search?query=org.netbeans.lib.cvsclient.connection.AuthenticationException>:
 SSH connection failed.
...
Caused by: com.jcraft.jsch.JSchException: java.io.FileNotFoundException: 
C:\Documents and Settings\Default User\.ssh\id_rsa (Le fichier spécifié est 
introuvable)

How can I generate this key ?

Thansk,

Xavier


2012/5/3 Jan Seidel <wakkal...@gmail.com<mailto:wakkal...@gmail.com>>
I agree on that.
go to manage jenkins and create a new global property.
name: CVS_RSH
value: c:\"program files"\PuTTY\plink_h.bat   (Depends on the agent you are 
using. with pageant you will have to enter the path and filename of plink_h.bat)

Take care

Am Mittwoch, 2. Mai 2012 15:10:41 UTC+2 schrieb TimP:
There seem to be some relevant instructions here:

http://www-d0.fnal.gov/software/cmgt/cvs_ssh.html

you need to have an environment variable
CVS_RSH set to your ssh executable.

my guess.
Tim


On 2 May 2012 14:04, Xavier NOPRE <xno...@gmail.com<mailto:xno...@gmail.com>> 
wrote:
> Hi Vincent,
>
> Thank you for your quick answer.
>
> So, I have tried with "ext", just replacing "extssh" with "ext" in my CVS
> URL, and I have another error. Sorry, it's in french, but the error seems to
> be with a RSH command. In the console, I can see like the help of RSH
> command and the this error : cvs [checkout aborted]: end of file from server
> (consult above messages if any)
>
> Thanks,
>
> Xavier
>
>
>
>
> 2012/5/2 HARDION Vincent 
> <vincent.hard...@synchrotron-soleil.fr<mailto:vincent.hard...@synchrotron-soleil.fr>>
>>
>> Hi Xavier,
>>
>> The "extssh" tag exists only for eclipse.
>> The real type of connection for cvs is "ext".
>>
>> Best regards,
>>
>> Vincent
>> ________________________________
>> From: 
>> jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com> 
>> [jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>]
>> on behalf of Xavier NOPRE [xno...@gmail.com<mailto:xno...@gmail.com>]
>> Sent: Wednesday, May 02, 2012 2:41 PM
>> To: jenkinsci-users@googlegroups.com<mailto:jenkinsci-users@googlegroups.com>
>> Subject: CVS and extssh
>>
>> Hi,
>>
>> I've just installed the last version of Jenkins. I have created a first
>> job for a Maven project. But my problem is with CVS. In Eclipse, my CVS URL
>> is with ":extssh:" prefix. But with Jenkins, I have this error : "cvs
>> checkout: Unknown method (`extssh') in CVSROOT.".
>>
>> My server OS is Windows. I have installed cvs.exe in c:\windows.
>>
>> How can I solve this problem ? Do I have to install some CVS extension for
>> the extssh support ?
>>
>> Thanks,
>>
>> Xavier
>>
>



--
Tim Pizey - http://pizey.net/~timp<http://pizey.net/%7Etimp>

Reply via email to