masterzen / winrm

Command-line tool and library for Windows remote command execution in Go
Apache License 2.0
425 stars 129 forks source link

Domain users support via kerberos/spnego #123

Closed yo000 closed 2 years ago

yo000 commented 3 years ago

Domain user authentication support via kerberos.
Successfully tested on linux and freebsd host, running commands on hosts in a child domain. Does not support TGT creation (you have to get it with kinit first)

yo000 commented 2 years ago

README is updated. I also added login/password support, and removed go-spnego dependencies (directly using gokrb5)