Windows: how to install sshpass


Use Cygwin

$ apt-cyg install sshpass
Installing sshpass
--2022-07-29 17:07:04--  http://cygwin.mirrors.hoobly.com//x86_64/release/sshpas
s/sshpass-1.06-1.tar.xz
Resolving cygwin.mirrors.hoobly.com (cygwin.mirrors.hoobly.com)... 69.64.41.166
Connecting to cygwin.mirrors.hoobly.com (cygwin.mirrors.hoobly.com)|69.64.41.166
|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15360 (15K) [application/x-xz]
Saving to: `sshpass-1.06-1.tar.xz'

sshpass-1.06-1.tar. 100%[===================>]  15.00K  61.7KB/s    in 0.2s

2022-07-29 17:07:05 (61.7 KB/s) - `sshpass-1.06-1.tar.xz' saved [15360/15360]

sshpass-1.06-1.tar.xz: OK
Unpacking...
Package sshpass requires the following packages, installing:
cygwin
Package cygwin is already installed, skipping
Package sshpass installed

Leave a Reply