jenkinsci / publish-over-ssh-plugin

https://plugins.jenkins.io/publish-over-ssh/
117 stars 150 forks source link

Failed to connect remote server throuth socks5 #268

Open mmweiyin opened 2 years ago

mmweiyin commented 2 years ago

Jenkins and plugins versions report

Environment ```text Paste the output here ```

What Operating System are you using (both controller, and any agents involved in the problem)?

Jenkins: 2.347 OS: Linux - 3.10.0-1160.el7.x86_64

Reproduction steps

Jenkins > Manage Jenkins > ssh servers

tap "test configuration"

image

I can use the socks5 successfully in my ssh terminal -- windterm. I want to know what kind of socks5 here can be valid. I'll try to setup a new socket5 server.

Expected Results

test configuration success

Actual Results

Failed to connect or change directory jenkins.plugins.publish_over.BapPublisherException: Failed to connect and initialize SSH connection. Message: [Failed to connect session for config [ziyuan]. Message [java.net.ConnectException: 连接超时 (Connection timed out)]]

Anything else?

No response

weijunli-No1 commented 2 years ago

i also get this question but,I used http proxy

mmweiyin commented 2 years ago

i also get this question but,I used http proxy

thank you , Can you tell me how to use the http proxy , how did you setup the http proxy server

weijunli-No1 commented 2 years ago

这是来自QQ邮箱的自动回复邮件。你好,您的邮件我已经收到,我将尽快给您回复。

yutaolian commented 2 years ago

i have fix this bug ,you can see this pr https://github.com/jenkinsci/publish-over-ssh-plugin/pull/273/commits/21c02e75de034c6cf51d61fded00043113f554f1

weijunli-No1 commented 2 years ago

这是来自QQ邮箱的自动回复邮件。你好,您的邮件我已经收到,我将尽快给您回复。