We can use netstat to see if we’re up and running PS C:\WINDOWS\system32> netstat -bano | more PS C:\WINDOWS\system32> Get-Service -Name *ssh* | Start-Service Stopped ssh-agent OpenSSH Authentication AgentĪs you can see the state is stopped, so let’s start the Services and also set them to start on boot PS C:\WINDOWS\system32> Get-Service -Name *ssh* | Set-Service -StartupType Automatic
We can see with the Get-Service cmdlet, the installer added ssd and also ssh-agent! PS C:\Users\aen> Get-Service -Name *ssh* On Windows systems, network daemons run as “Services”. With that installed, let’s take a look at where sshd lives on our Windows system and that’s in C:\Windows\System32\OpenSSH\ PS C:\> Get-ChildItem C:\Windows\System32\OpenSSH\ To confirm it’s installation we can use the Get-WindowsCapability cmdlet again, and this time it’s state is “Installed” PS C:\WINDOWS\system32> Get-WindowsCapability -Online | Where-Object -Property Name -Like "OpenSSH.Server*"
#INSTALL OPENSSH SERVER WINDOWS 10 INSTALL#
Now to install OpenSSH server, we can use the Add-WindowsCapability cmdlet PS C:\WINDOWS\system32> Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0 PS C:\> Get-WindowsCapability -Online | Where-Object -Property Name -Like "OpenSSH*" With that installed, let’s check out the new Windows Capabilities (Features) available in this Update, we can use PowerShell to search through them. Do that using your normal update mechanisms. So in yesterday’s post we learned that the OpenSSH client is included with the Windows 10, Update 1803! Guess, what else is included in this server, an OpenSSH Server! Yes, that’s right…you can now run an OpenSSH server on your Windows 10 system and get a remote terminal! So in this post, let’s check out what we need to do to get OpenSSH Server up and running.įirst, we’ll need to ensure we update the system to Windows 10, Update 1803.