SSH Connection Start with Windows Terminal


Windows Terminal has evolved and can be measured against modern terminals of other operating systems, such as the GNOME Terminal. It can also be seen with the well-known terminal tools under Windows, such as PuTTY and KiTTY.

This tutorial shows how to start an SSH terminal session under Windows, using the connection with OpenSSH and Windows Terminal. Prerequisite is that the OpenSSH Client is installed on the Windows computer. Windows Terminal can be found as an app in the Microsoft Store. After downloading, the Windows Terminal can see as wt.exe under the application settings path LOCALAPPDATA.


Install OpenSSH on Windows, select from Apps & Features – Optional Features – Add Feature – OpenSSH Client.

Windows Apps & Features - Optional Features - Add OpenSSH Client

A new host can be set up in the settings page with Ctrl+,

Windows Terminal Settings

The host entry is added in the Windows Terminal Settings (Ctrl+,) with Add New Profile.

Just fire up and connect to the new added host.

Windows Terminal SSH Session

  Tip! Keys generated with ssh-keygen can be used SSH sessions without entering a password and even more securely.

To do this, create the folder .ssh under the home path %USERPROFILE%, in which private and public keys are stored, with creating the file config the host can be configured, with the assignment of host name and the appropriate private key.

Host vm126
    User james
    IdentityFile ~/.ssh/id_rsa
    ServerAliveInterval 60

The public key ( is stored on the remote host at ~/.ssh/authorized_keys

How useful was this post?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate this post.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

4 thoughts on “SSH Connection Start with Windows Terminal”

  1. Nice.
    As a hint. I use ssh-agent to manage my ssh keys:

    Start ssh-agent service:
    By default the ssh-agent service is disabled.
    As an Administrator
    PS> Get-Service ssh-agent | Set-Service -StartupType Automatic (delayed)

    Start the service
    PS> Start-Service ssh-agent

    Add public key
    Load your key file into ssh-agent:
    PS> ssh-add \

    1. Hmm, the comment system swallowed my argument placeholder.
      ssh-add of course needs the path to key file which afterwards does no have to be on the machine anymore.

    2. Thanks for the hint which is a good addition, anyway i want to celebrate in this post that ssh on windows can now be used in the same way with ssh-key handling as it is the default on linux, which is not self-evident. However, this is only my opinion!

Leave a Reply to Frank Cancel reply

Your email address will not be published. Required fields are marked *