Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jenkins ssh launch windows 2012sever 提示:[SSH] The remote user's environment is: ERROR: null #72

Open
hup1221 opened this issue Aug 9, 2024 · 0 comments

Comments

@hup1221
Copy link

hup1221 commented Aug 9, 2024

求助:
ubuntu 部署的jenkins master ssh launch 到windowns server2012时提示如下信息:
[08/09/24 17:29:03] [SSH] WARNING: SSH Host Keys are not being verified. Man-in-the-middle attacks may be possible against this connection.
[08/09/24 17:29:03] [SSH] Authentication successful.
[08/09/24 17:29:04] [SSH] The remote user's environment is:
ERROR: null
java.util.concurrent.CancellationException
at java.util.concurrent.FutureTask.report(FutureTask.java:121)
at java.util.concurrent.FutureTask.get(FutureTask.java:192)
at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:475)
at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:294)
at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
at jenkins.security.ImpersonatingExecutorService$2.call(ImpersonatingExecutorService.java:71)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
[08/09/24 17:32:25] Launch failed - cleaning up connection
[08/09/24 17:32:25] [SSH] Connection closed.

我使用shell 命令行可以正常连接并且登录到windows powershell命令行,请问我需要怎么才能解决这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant