how-to-setup-ssh-server-windows-10

How To Setup SSH Server Windows 10?

setup SSH server Windows 10


  • If, you want to setup SSH server Windows 10 first, launch the Settings window by clicking the Start menu and typing Settings in the search section. 
  • Select the Apps & features tab under Apps.
  • Right-click on the Manage optional features option under Apps & features.
  • When the Manage optional features window appears, click the ‘Add a feature’ option.
  • Select the OpenSSH Server (Beta) feature from the displayed list and click on the Install button.
  • Now, restart your computer.
  • The ‘sshd’ and ’sshd-agent’ Windows services will be created and the files associated with the installation will be stored in the folder C:\Windows\System32\OpenSSH. The complete list of installed files are given below:
  • C:\Windows\System32\OpenSSH\scp.exe
  • C:\Windows\System32\OpenSSH\sftp-server.exe
  • C:\Windows\System32\OpenSSH\sftp.exe
  • C:\Windows\System32\OpenSSH\ssh-add.exe
  • C:\Windows\System32\OpenSSH\ssh-agent.exe
  • C:\Windows\System32\OpenSSH\ssh-keygen.exe
  • C:\Windows\System32\OpenSSH\ssh-shellhost.exe
  • C:\Windows\System32\OpenSSH\ssh.exe
  • C:\Windows\System32\OpenSSH\sshd.exe
  • C:\Windows\System32\OpenSSH\sshd_config
  • C:\Windows\System32\OpenSSH\Logs\
  • C:\Windows\System32\OpenSSH\Logs\ssh-agent.log
  • C:\Windows\System32\OpenSSH\Logs\sshd.log

  • To complete the installation, reboot your computer.
  • Press the Windows and R buttons together and type services.msc in the search section.
  • When the Services window appears, you can see the ssh server running.
  • You have to configure the service manually. 
  • Double-click on the sshd service and select the Properties option from the displayed list.
  • Navigate to the Log On tab and type the login credentials of your email account to setup SSH server Windows 10.
  • Open the Command Prompt window as administrator and type c:\windows\system32\Openssh and tap the Enter key.
  • Again, type cd c:\windows\system32\Openssh in the command prompt to open the directory.
  • If you want to generate security keys, enter ssh-keygen -A and tap the Enter key. 
  • Now, press the Windows and E buttons together to open the File Explorer window.
  • Open Power shell and enter the commands given below:
  • Install-Module -Force OpenSSHUtils
  • Repair-SshdHostKeyPermission -FilePath C:\Windows\System32\OpenSSH\ssh_host_ed25519_key
  • Now, open the Services window and select the service. Right-click on it and select Restart.

You have now successfully configured and setup SSH server Windows 10 computer.