Details
-
Bug
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
Description
Now it's impossible to connect to SSH host if 'password' authentication method disabled and 'keyboard-interactive' enabled. Connection fails with message like:
Recording fingerprints
Sending e-mails to: <me>
SCP Connecting to <hostname>
ERROR: Failed to upload files
com.jcraft.jsch.JSchException: Auth fail
at com.jcraft.jsch.Session.connect(Session.java:473)
at com.jcraft.jsch.Session.connect(Session.java:145)
at be.certipost.hudson.plugin.SCPSite.createSession(SCPSite.java:149)
at be.certipost.hudson.plugin.SCPRepositoryPublisher.perform(SCPRepositoryPublisher.java:106)
Attachments
Issue Links
- is duplicated by
-
JENKINS-7418 SCP plugin cannot publish through firewall
-
- Open
-
If Jsch can't reach a destination host it fails with java.net.ConnectException like this:
'Auth fail' message means that destination host was reached but authentication phase failed. You could check it connecting with ssh client with '-v', eg. ssh -v hostname and search for
debug1: Authentications that can continue: publickey,keyboard-interactive