├── test.txt ├── sshpass-1.05.tar.gz └── README.md /test.txt: -------------------------------------------------------------------------------- 1 | Test 2 | -------------------------------------------------------------------------------- /sshpass-1.05.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Edgar0119/cygwin-sshpass/HEAD/sshpass-1.05.tar.gz -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Cygwin-sshpass 2 | Run sshpass on Windows via Cygwin 3 | 4 | # Build requirements package (use latest verison) 5 | * autoconf 6 | * automake 7 | * binutils 8 | * cygport 9 | * gcc-core 10 | * git 11 | * make 12 | 13 | You can use apt-cyg (https://github.com/transcode-open/apt-cyg) to install above packages, for example: 14 | 15 | apt-cyg install wget autoconf automake binutils cygport gcc-core make git 16 | 17 | # Build instructions 18 | ~~~ 19 | git clone https://github.com/Edgar0119/cygwin-sshpass.git cygwin-sshpass 20 | cd cygwin-sshpass 21 | tar -zxvf sshpass-1.05.tar.gz 22 | cd sshpass-1.05 23 | bash ./configure 24 | make 25 | ~~~ 26 | 27 | Now you can see sshpass.exe in the folder 28 | 29 | Then move sshpass.exe to ${CygwinRoot}\bin\sshpass.exe 30 | 31 | 32 | # Reference 33 | https://github.com/fd00/yacp/tree/master/sshpass 34 | --------------------------------------------------------------------------------