Jenkin+CVS : com.jcraft.jsch.JSchException: Auth cancel

15 views
Skip to first unread message

Ganesh MN

unread,
Nov 27, 2017, 10:03:25 AM11/27/17
to Jenkins Users
Hi All,

I am new to Jenkins. I have to checkout out code from CVS.
So, I generated private/public key using "ssh-keygen -t rsa" command. it has generated  id_rsa and id_rsa.pub files. pointed private key path to this id_rsa file.
But when I run job I am getting following error message. Even I converted id_rsa file to id_rsa.ppk using puttygen. But, No use.


08:17:50 ERROR: CVS Authentication failed: null
08:17:50 org.netbeans.lib.cvsclient.connection.AuthenticationException: SSH connection failed.
08:17:50 	at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:141)
08:17:50 	at org.netbeans.lib.cvsclient.Client$1.run(Client.java:374)
08:17:50 	at java.lang.Thread.run(Thread.java:748)
08:17:50 Caused by: com.jcraft.jsch.JSchException: Auth cancel
08:17:50 	at com.jcraft.jsch.Session.connect(Session.java:511)
08:17:50 	at com.jcraft.jsch.Session.connect(Session.java:183)
08:17:50 	at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:139)
08:17:50 	... 2 more
08:17:50 ERROR: Cvs task failed


Jenkins version : 2.74
CVS plugin      :  2.13

please help me to get it resolved.

Thanks in advance,
Ganesha
Reply all
Reply to author
Forward
0 new messages