.. include:: /index.rst :start-after: start_hello_message :end-before: end_hello_message .. _openssh_powershell: Install OpenSSH via Powershell =================================== When you use ``ssh @.local`` (or ``ssh @``) to connect to your Raspberry Pi, but the following error message appears. .. code-block:: ssh: The term 'ssh' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. It means your computer system is too old and does not have `OpenSSH `_ pre-installed, you need to follow the tutorial below to install it manually. #. Type ``powershell`` in the search box of your Windows desktop, right click on the ``Windows PowerShell``, and select ``Run as administrator`` from the menu that appears. .. image:: img/powershell_ssh.png :align: center #. Use the following command to install ``OpenSSH.Client``. .. code-block:: Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0 #. After installation, the following output will be returned. .. code-block:: Path : Online : True RestartNeeded : False #. Verify the installation by using the following command. .. code-block:: Get-WindowsCapability -Online | Where-Object Name -like 'OpenSSH*' #. It now tells you that ``OpenSSH.Client`` has been successfully installed. .. code-block:: Name : OpenSSH.Client~~~~0.0.1.0 State : Installed Name : OpenSSH.Server~~~~0.0.1.0 State : NotPresent .. warning:: If the above prompt does not appear, it means that your Windows system is still too old, and you are advised to install a third-party SSH tool, like :ref:`login_windows`. #. Now restart PowerShell and continue to run it as administrator. At this point you will be able to log in to your Raspberry Pi using the ``ssh`` command, where you will be prompted to enter the password you set up earlier. .. image:: img/powershell_login.png