Comments on: Install OpenSSH Server on Windows Server https://www.thomasmaurer.ch/2018/06/install-openssh-server-on-windows-server/ Cloud and Datacenter Blog focusing on Microsoft Azure Wed, 24 Nov 2021 09:50:30 +0000 hourly 1 https://wordpress.org/?v=6.4.1 By: David Scott https://www.thomasmaurer.ch/2018/06/install-openssh-server-on-windows-server/#comment-734220 Fri, 19 Jul 2019 14:41:56 +0000 https://www.thomasmaurer.ch/?p=9025#comment-734220 I just tried the latest build of Win32 OpenSSH (v8.0.0.0p1) on an up-to-date Windows 2016 LTSC (1607) and it is working, so I guess whatever limitation preventing earlier releases of the program have now been fixed.

]]>
By: Daniel Pesta https://www.thomasmaurer.ch/2018/06/install-openssh-server-on-windows-server/#comment-729491 Mon, 29 Apr 2019 15:04:12 +0000 https://www.thomasmaurer.ch/?p=9025#comment-729491 Thanks for putting these instructions together Thomas, I found them very helpful. I needed a couple of extra steps to make everything work:

Before I could run the Start-Service ssh-agent command, I first needed to start the service in Windows (https://stackoverflow.com/questions/52113738/starting-ssh-agent-on-windows-10-fails-unable-to-start-ssh-agent-service-erro)

Get-Service -Name ssh-agent | Set-Service =StartupType Manual

Generating the keys (.\ssh-keygen -A) resulted in a ‘no such file or directory\ error until I created an ssh directory off of C:\programData.

]]>
By: mydeardiary https://www.thomasmaurer.ch/2018/06/install-openssh-server-on-windows-server/#comment-717259 Thu, 03 Jan 2019 22:55:32 +0000 https://www.thomasmaurer.ch/?p=9025#comment-717259 You need to copy \sources\sxs directory into \Windows directory before adding OpenSSH.Server~~~~0.1.0.0 feature

robocopy E:\sources\sxs C:\Windows\sxs

After that, you may add openssh.server capability into existing installation.

]]>
By: Wayne Lam https://www.thomasmaurer.ch/2018/06/install-openssh-server-on-windows-server/#comment-717158 Thu, 03 Jan 2019 02:16:10 +0000 https://www.thomasmaurer.ch/?p=9025#comment-717158 I got this error when starting the service:
PS C:\windows\system32\OpenSSH> Start-Service ssh-agent
Start-Service : Service ‘OpenSSH Authentication Agent (ssh-agent)’ cannot be started due to the following error: Cannot start
service ssh-agent on computer ‘.’.
At line:1 char:1
+ Start-Service ssh-agent
+ ~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommand
Exception
+ FullyQualifiedErrorId : CouldNotStartService,Microsoft.PowerShell.Commands.StartServiceCommand

]]>
By: ASW https://www.thomasmaurer.ch/2018/06/install-openssh-server-on-windows-server/#comment-715608 Mon, 17 Dec 2018 13:42:05 +0000 https://www.thomasmaurer.ch/?p=9025#comment-715608 Is there any easy way to set PowerShell as default SSH shell instead of cmd? Thanks!

]]>
By: Thomas Maurer https://www.thomasmaurer.ch/2018/06/install-openssh-server-on-windows-server/#comment-714773 Tue, 27 Nov 2018 15:30:24 +0000 https://www.thomasmaurer.ch/?p=9025#comment-714773 In reply to David Mark.

Sad your experience was not good.
Windows Server, version 1709 is available since September last year! (2017) We now even have version 1803 and 1809 as well as the LTSC version Windows Server 2019, available!

]]>
By: David Mark https://www.thomasmaurer.ch/2018/06/install-openssh-server-on-windows-server/#comment-714752 Tue, 27 Nov 2018 05:34:27 +0000 https://www.thomasmaurer.ch/?p=9025#comment-714752 You failed to mention that Windows Server, version 1709 and higher not available yet and not stable. I have wasted several hours believing your blog. Total useless.

]]>