golang-github-packer-community software package provides copy files to remote hosts using WinRM (Go library), you can install in your Debian 9 (Stretch) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install golang-github-packer-community
golang-github-packer-community is installed in your system.
Make ensure the golang-github-packer-community package were installed using the commands given below,
$ sudo dpkg-query -l | grep golang-github-packer-community*
You will get with golang-github-packer-community package name, version, architecture and description in a table
| Distro | Debian 9 stretch |
| Section | Development |
| Package | golang-github-packer-community |
| Version | 0.0~git20160310.f1bcf36-1 |
| Description | copy files to remote hosts using WinRM (Go library) |
| Sub Section | devel |