[
https://issues.jenkins-ci.org/browse/JENKINS-13143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160681#comment-160681
]
bap commented on JENKINS-13143:
-------------------------------
Can you check that you can ssh using the same credentials to port 2232?
The port number is stored as an int and the comma is just due to your locale
formatting the number when printing out the "Creating session" message.
> Can't connect on host using a port greater than 999
> ---------------------------------------------------
>
> Key: JENKINS-13143
> URL: https://issues.jenkins-ci.org/browse/JENKINS-13143
> Project: Jenkins
> Issue Type: Bug
> Components: publish-over-ssh
> Reporter: Frédéric Camblor
> Assignee: bap
> Priority: Critical
>
> I configured publish-over-ssh plugin (v1.6) on my current jenkins, with port
> 2232, and it fails to connect.
> Using port 22 (on another host) works fine though.
> When I use verbose mode on the plugin, I have :
> SSH: Connecting from host [jenkins-slave-ubuntu3]
> SSH: Connecting with configuration [XXX nightly] ...
> SSH: Creating session: username [xxx], hostname [X.X.X.X], port [2,232]
> SSH: Connecting session ...
> ERROR: Exception when publishing, exception message [Failed to connect
> session for config [XXX nightly]. Message [java.net.ConnectException:
> Connection refused]]
> I think the "2,232" is the cause of the problem :-)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira