Hello,Has anyone successfully implemented the use of SSH to launch Windows 7 agents (slaves)?I have been attempting to setup OpenSSH, but I'm falling short of getting it working.For one thing, the sshd never shows up as one of my Services, even though I believe I've followed the steps necessary to register the service.If I attempt to launch sshd manually, I get ACCESS DENIED, even though I can successfully launch ssh-agent.
We have been happily using JNLP for our Windows agents, but, as we deploy Java 11 on our slaves, the JNLP method is no longer available.
Please share any tips and tricks you may have needed to employ to make the SSH slaves work as expected.Thanks in advance.Steve K.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1298b6db-6dd5-4226-8d0e-f394e50e3077%40googlegroups.com.
Thanks again.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d7a41896-cfd6-4dc6-8007-649097fa0304%40googlegroups.com.
Thanks again Mark.So, what does the master think the launch method is for the slave?
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/690225b1-271b-45dc-88b0-d15b06c15135%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/68d09b75-bd6f-4ec8-afdf-000efe443fdb%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/68d09b75-bd6f-4ec8-afdf-000efe443fdb%40googlegroups.com.
I launch my Windows 10 ssh agents using the instructions from the ssh-slaves plugin page:They use the Microsoft OpenSSH server on Windows 10.I launch JNLP Windows agents with the following batch script:
@ECHO ON
CD %HOME%\bin
CALL clean-temp-dirs
CD %TEMP%
RMDIR /S/Q .
C:
CD C:\J
ROBOCOPY %HOME%\bin . agent.jar
SET JAVA_HOME=C:\Users\MarkE\tools\jdk8u222-b10
SET PATH=%JAVA_HOME%\bin;%PATH%
set SECRET=the-secret-has-been-removed-for-this-email
java -jar agent.jar -jnlpUrl http://mark-pc2.markwaite.net:8080/computer/cb-pc/slave-agent.jnlp -secret %SECRET%On Tue, Jul 30, 2019 at 11:39 AM Steve K <Steve.K...@carestream.com> wrote:--
Thanks once again Mark.May I bug you for some more info? I was really hoping to answer this on my own, but I feel like I'm chasing my tail. Whenever I do searches for Jenkins agent launch methods, I'm predominantly directed to a description of JNLP usage or, to a lesser extent, SSH; neither of which I want for the Win 7 machines.Could you please provide a sample script that you leverage?That would be greatly appreciated!
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/68d09b75-bd6f-4ec8-afdf-000efe443fdb%40googlegroups.com.
--Thanks!Mark Waite
To unsubscribe from this group and stop receiving emails from it, send an email to jenkins...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/68d09b75-bd6f-4ec8-afdf-000efe443fdb%40googlegroups.com.
--Thanks!Mark Waite--Thanks!Mark Waite