Issue Type: Bug Bug
Assignee: Unassigned
Components: ssh
Created: 03/Apr/13 6:47 AM
Description:

SSH plugin throws auth cancel with simplest configuration.

On my jenkins server I can ssh to target machine using keys without passphrase.

When I add SSH location using SSH Plugin this consistently fails with message below.

Started by user Onno van der Straaten
Building in workspace ..
repository
executing script:

ls
[SSH] Exception:Auth cancel
com.jcraft.jsch.JSchException: Auth cancel
	at com.jcraft.jsch.Session.connect(Session.java:451)
	at com.jcraft.jsch.Session.connect(Session.java:150)
	at org.jvnet.hudson.plugins.SSHSite.createSession(SSHSite.java:118)
	at org.jvnet.hudson.plugins.SSHSite.executeCommand(SSHSite.java:128)
	at org.jvnet.hudson.plugins.SSHBuilder.perform(SSHBuilder.java:60)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:814)
	at hudson.model.Build$BuildExecution.build(Build.java:199)
	at hudson.model.Build$BuildExecution.doRun(Build.java:160)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:593)
	at hudson.model.Run.execute(Run.java:1568)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:237)
Build step 'Execute shell script on remote host using ssh' marked build as failure
Finished: FAILURE

On target machine /var/log/messages shows each time

Apr  3 08:26:13 mymachine sshd[12009]: Received disconnect from (ip): 3: com.jcraft.jsch.JSchException: Auth cancel

Project: Jenkins
Priority: Major Major
Reporter: Onno van der Straaten
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to