Skip to content
Häfner edited this page Mar 8, 2021 · 9 revisions

On Ubuntu you can simply install a system package.

On Windows 10 we recommend OpenSSH via additional feature installation:

First way, via the GUI

  • Go to Apps > Apps and Features > Manage Optional Features
  • Select 'Add a feature' and install 'OpenSSH Server'
  • Go back and wait for it to install, then check if its there

For the following start a command promp (cmd) in Admin mode

To check if the SSH server is running type:

  • net start | findstr -i ssh

If it is not running type:

  • net start "OpenSSH SSH Server"

To start the ssh server on boot:

  • sc config "sshd" start= auto
  • sc config "ssh-agent" start= auto

Second way, via powershell

(from here)

  • Open a Powershell
  • search for the package name:

Get-WindowsCapability -Online | ? name -like *OpenSSH.Server*

  • Install the package with:

Add-WindowsCapability -Online PACKAGE-NAME

  • You may get "Add-WindowsCapability failed. Error code = 0x800f0950", this means the windows build is too old, below 17763.194
  • You may get "Error with "Add-WindowsCapability". Error code: 0x8024002e", this is a WSUS problem
  • If installed successfully add to autostart:

Set-Service sshd -StartupType Automatic

Set-Service ssh-agent -StartupType Automatic

  • And start them immediatly with:

Start-Service sshd

Start-Service ssh-agent

Clone this wiki locally