Enabling the OpenSSH Client (SSH) on Windows

Overview

Starting with Windows 10 1803 (build 17134), Microsoft has enabled OpenSSH within the Command Prompt application as an optional feature.

System Requirements

  • Windows 10 version 1803 (build 17134) and above.

Enabling the OpenSSH Client on Windows 10

You can enable the OpenSSH Client on your Windows 10 device through the following steps:

  1. Open the Start menu and search for “Manage optional features”.

    Searching for manage optional features in the Windows Settings application in Windows 10.
  2. The “Optional features” menu lists out features already installed on your device under Installed features. If the OpenSSH Client is listed, the feature has already been enabled and no further action is necessary. If the OpenSSH Client is not listed, choose “Add a feature”.

    The optional features menu in settings app in Windows 10.
  3. In the following menu, search for "OpenSSH Client".

    Searching the OpenSSH Client in the Settings application.
  4. Click on the checkbox next to OpenSSH Client and then click Install.
  5. Windows will then install the OpenSSH client. Once completed, the feature will be listed under Installed features and will be ready to use.

Enabling the OpenSSH Client on Windows 11

You can enable the OpenSSH Client on your Windows 11 device through the following steps:

  1. Open the Settings application and search for “Optional features”.

    Searching for optional features in the settings application in Windows 11
  2. The Manage optional features menu lists out features already installed on your device under Installed features. If the OpenSSH Client is listed, the feature has already been enabled and no further action is necessary. If the OpenSSH Client is not listed, choose “View features”.

    The optional features menu in the settings application in windows 11.
  3. In the following menu, search for “OpenSSH Client”.

    The optional features menu in the settings application in windows 11.
  4. Click on the checkbox next to OpenSSH Client and then click “Next”. In the following window, click “Install” to confirm the installation.

    Confirming the OpenSSH client installation in Windows 11.
  5. Windows will then install the OpenSSH client. Once completed, the feature will be listed under Installed features and will be ready to use.

Using the OpenSSH Client to Access UHUNIX

You can use the OpenSSH Client in Windows to access your UHUNIX account through the following steps:

  1. Open the Command Prompt application.
  2. In the Command Prompt application, type the following command:

    "ssh <username>@uhunix.hawaii.edu"

    where <username> is your UH username.

    1. If this is the first time you are connecting to your UHUNIX account through SSH on your Windows device, you will receive a message like the following:

      "The authenticity of host 'uhunix.hawaii.edu (128.171.24.203)' can't be established. ECDSA key fingerprint is SHA256:Sdod2cQGzoc8HQqkdYYa5yS4D/JBDvtiISeRWsdzncE. Are you sure you want to continue connecting (yes/no/[fingerprint])?".

    2. If you receive this message, type “yes” and press the enter key.
  3. When prompted, type the password to your UH account and then press the enter key. You will then be connected to your UHUNIX account.

Using the OpenSSH Client for SFTP

The OpenSSH Client also allows the use of SFTP within the Command Prompt application. To use the OpenSSH Client as a SFTP client, please use the following instructions:

  1. Open the Command Prompt application.
  2. In the Command Prompt application, type the following command:

    "sftp <username>@uhunix.hawaii.edu"

    where <username> is your UH username.

    1. If this is the first time you are connecting to your UHUNIX account through SSH on your Windows device, you will receive a message like the following:

      "The authenticity of host 'uhunix.hawaii.edu (128.171.24.203)' can't be established. ECDSA key fingerprint is SHA256:Sdod2cQGzoc8HQqkdYYa5yS4D/JBDvtiISeRWsdzncE. ECDSA key fingerprint is MD5:26:5a:84:94:02:b8:c0:ec:87:75:af:94:ee:47:f3:25. Are you sure you want to continue connecting (yes/no)?"

    2. If you receive this message, type “yes” and press the enter key.
  3. When prompted, type the password to your UH account and then press the enter key. You will then be connected to your UHUNIX account.

The OpenSSH client does not offer a graphical user interface (GUI) for SFTP. For instructions on how to install a SFTP client with a GUI, please see Askus article 1740.

Disabling the OpenSSH Client

You can disable the OpenSSH Client on your Windows device through the following steps:

  1. Open the Start menu and search for "Manage optional features".
  2. In the list of Installed features, click on OpenSSH Client and select Uninstall.
  3. Once the uninstall is complete, the OpenSSH Client will be disabled.

 

Please rate the quality of this answer: Poor Fair Okay Good Excellent
Not the answer you were looking for? Try different keyword combinations and if you still can’t find your answer, please contact us.
Article ID: 1874
Created: Thu, 23 Jun 2022 4:41pm
Modified: Fri, 24 Jun 2022 3:30pm