Comment by pmontra
8 years ago
I'm using this in production on a Windows Server 2016
https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win...
It works but I never managed to connect to it using public/private keys, only username and password.
Luckily I don't have to type them:
sshpass -f password.txt user@windows.host "powershell Stop-Computer"
It would be great if at least Windows Server came with a built in ssh server.
Maybe this is because key auth requires domain\username@host (doesn't resolve the domain automagically)?
https://github.com/PowerShell/Win32-OpenSSH/issues/420#issue...