Hi,
if you are using Windows 10 for your slave, just enable the Windows Features for OpenSSH client and server. This would make it just like a Linux node. Make sure to put your Java install into a path without spaces (I think the fix is in the pipeline depending of the Jenkins version you have).
That make it easier as it do just like linux to log in and seem more safe to me, you just put the credentials into the Jenkins master for the ssh key.
une compagnie RAPPROCHEZ LA DISTANCE |
|
COVID-19 : we are glad to inform you that Amotus are up and running with limited impact on our performance. We will keep you informed of any changes as they occur.
COVID-19 : nous sommes fiers d’informer nos collaborateurs que Amotus opèrent adéquatement et que l’impact sur notre productivité est minimisé. Nous vous tiendrons au courant de tout changement.
--
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/6dd94526-10df-4c77-b734-dda9d7308e54n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/QB1PR01MB384470D344193ECCCC3DA4B3CDFC0%40QB1PR01MB3844.CANPRD01.PROD.OUTLOOK.COM.
[11/26/20 17:49:12] [SSH] Opening SSH connection to jenkins-win02:22.Searching for jenkins-win02 in /var/lib/jenkins/.ssh/known_hosts Searching for jenkins-win02:22 in /var/lib/jenkins/.ssh/known_hosts [11/26/20 17:49:18] [SSH] WARNING: No entry currently exists in the Known Hosts file for this host. Connections will be denied until this new host and its associated key is added to the Known Hosts file. Key exchange was not finished, connection is closed.What should I do now? (Don't know how to add the host to /var/lib/jenkins/.ssh/known_hosts).Best regardsDavid
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/994f6f26-25a4-421e-9df5-8f8aa4b74e9cn%40googlegroups.com.
You might need to manually connect for a first time to the host to add it or here is the script command line I do when I want to add a host to the known host file:
"ssh-keygen -R ${domain} -f \"${know_host_path}\""
"ssh-keygen -t rsa ${domain} >> \"${know_host_path}\""
know_host_path is normally ~/.ssh/ known_hosts
une compagnie RAPPROCHEZ LA DISTANCE |
|
|
COVID-19 : we are glad to inform you that Amotus are up and running with limited impact on our performance. We will keep you informed of any changes as they occur.
COVID-19 : nous sommes fiers d’informer nos collaborateurs que Amotus opèrent adéquatement et que l’impact sur notre productivité est minimisé. Nous vous tiendrons au courant de tout changement.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAJK_ieiQGT-YLB42N4%3DU7q0P3g-RbPyMRi%2B_87Fa%2BTT7YU2fow%40mail.gmail.com.