Run sshpass on Windows via Cygwin
- autoconf
- automake
- binutils
- cygport
- gcc-core
- git
- make
You can use apt-cyg (https://github.com/transcode-open/apt-cyg) to install above packages, for example:
apt-cyg install wget autoconf automake binutils cygport gcc-core make git
git clone https://github.com/Edgar0119/cygwin-sshpass.git cygwin-sshpass
cd cygwin-sshpass
tar -zxvf sshpass-1.05.tar.gz
cd sshpass-1.05
bash ./configure
make
Now you can see sshpass.exe in the folder
Then move sshpass.exe to ${CygwinRoot}\bin\sshpass.exe