The SSH connection with the Ubuntu server fails with the error message "Key exchange was not finished, connection is closed.".
[05/02/17 13:07:48] [SSH] Opening SSH connection to 172.16.11.242:22.
C:\Windows\system32\config\systemprofile\.ssh\known_hosts [SSH] No Known Hosts file was found at C:\Windows\system32\config\systemprofile\.ssh\known_hosts. Please ensure one is created at this path and that Jenkins can read it.
Key exchange was not finished, connection is closed.
java.io.IOException: There was a problem while connecting to 172.16.11.242:22
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: Key exchange was not finished, connection is closed.
... 9 more
Caused by: java.io.IOException: The server hostkey was not accepted by the verifier callback
... 1 more
[05/02/17 13:07:48] Launch failed - cleaning up connection
[05/02/17 13:07:48] [SSH] Connection closed.
The slave is configured to connect and authenticate with username and password.
There is also a warning about a missing ssh known_hosts file (No Known Hosts file was found at C:\Windows\system32\config\systemprofile\.ssh\known_hosts. Please ensure one is created at this path and that Jenkins can read it.), but in windows it is not possible to create a folder with a name starting with a point (.ssh)