How to use SSH in Windows Terminal

Do you know that Windows 10 and 11 or above have SSH pre-installed on them? Yes, Windows has a built-in OpenSSH client that you can use with the help of Windows Terminal.

What is OpenSSH?

OpenSSH-based secure shell (SSH) client, for secure key management and access to remote machines.

You can find the SSH Client located at C:\Windows\System32\OpenSSH


How to use SSH on Windows 11 Terminal

  1. Press Windows key to open search and type Terminal and select "Windows Terminal".
  2. Now move to C:\Windows\System32\OpenSSH
    cd C:\Windows\System32\OpenSSH
  3. Now run the SSH command to connect to a server.

    Syntax:

    ssh username@remote-server

    Example:

    ssh mike@192.178.91.121

    The default port is 22.

Using SSH on Windows Terminal

For More Reading:
  1. https://learn.microsoft.com/en-us/windows/terminal/customize-settings/profile-general
  2. https://learn.microsoft.com/en-us/windows/terminal/tutorials/ssh

Comments & Discussion

Facing issues? Have questions? Post them here! We're happy to help!