Jekins continuous integration;
Server windows server;
windows install openssh services;
Installation Package: https://github.com/PowerShell/Win32-OpenSSH/releases out of the box; file extraction step 1 to C: \ Program Files \ OpenSSH 2 3 console cd directory to perform powershell.exe -ExecutionPolicy Bypass - File install-sshd.ps1
Start the service ssh;
Stepped pit place: it was not put files into C: \ Program Files can be directly extracted and performed the steps 3, throw an exception when connection information Connection reset by peer: socket write error
Engage in a long time, can telnet to port 22, it is to throw an exception when connecting. Honestly considered to extract c disc connected success.
Reference article: https://www.jianshu.com/p/6e5bc39d386e