How to SSH from Windows 10

This quick guide will show you how to enable SSH on your Windows 10 device so that you can connect to remote servers via the Command Prompt.

  1. Start out by visiting the OpenSSH for Windows download page (link opens in a new tab/window). The current version of OpenSSH for Windows is 7.2p1-1 – so look for the section titled OpenSSH 7.2p1-1 and download the file named setupssh-7.2p1-1.exe. If there’s a newer version, download that one. The steps to install it will almost certainly be nearly identical.
  2. When the file has finished downloading, run it. The OpenSSH installer will run. Click Next on the introduction window.

  3. Review the License Agreement and then place a check in the box saying you accept those terms. Then, click Next.
  4. Since you probably do not want to run an SSH server on your Windows 10 desktop/laptop/tablet, make sure to remove the checkmark from the box labeled Serverthen click the Next button.

    Note: if the idea of running an SSH server does appeal to you, I would still strongly suggest you do not install it at this time and research it a bit first. You can always come back and install the Server using this same installation file.

  5. Unless you have reason to, leave the installation location as it is and click the Next button.
  6. For the last time – click the Next button …
  7. and then the Finish button.
  8. Now open up a Command Prompt and try to SSH somewhere.
  9. Confirm connection if needed…
  10. It works! You can now SSH from the Windows command line!
  11. Related: if you want to use the Chrome web browser to SSH, you can do that too.
{ 7 comments… add one }
  • manideep lanka October 30, 2017, 5:20 am

    Why do I not want to run SSH server on my Windows?

  • Sandro Fabianny LondoƱo Valenc November 8, 2017, 2:24 pm

    thanks

  • Richard December 5, 2017, 1:17 am

    Because it’s a potential security threat. If someone manages to figure out your credentials he will have access to your computer. So unless you’re looking to remotely SSH into your own computer, don’t run it.

  • Jesse MacDougall December 9, 2017, 2:21 pm

    Thanks for this.
    What would I type if I was trying to ssh to a different port then the default 22?

Leave a Comment