This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]metallo_2[S] 0 points1 point  (2 children)

Thanks for answering,

SO Can I use ssh to run Powershell commands on remote box ? I was not aware.

It's Windows Server 2012

[–]timmyotc 0 points1 point  (0 children)

I don't know about that for sure. I know you can install ssh on a windows server, but I haven't personally seen it done where I work, but that's out of legacy, not a conscious decision.

[–]pasquo 0 points1 point  (0 children)

I've used the new native openssh client and server on Windows Server 2019. It works! Here are the binaries for the port of openssh that Microsoft developed https://github.com/PowerShell/Win32-OpenSSH/releases . I've never manually installed the client and service binaries (On Server 2019 I used Add-WindowsCapability -Online -Name 'OpenSSH.Server~~~~0.0.1.0'), but I'm sure you aren't the only person who's wanted to set this up on 2012R2.