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

Facing issues? Have Questions? Post them here! I am happy to answer!

Author Info:

Rakesh (He/Him) has over 14+ years of experience in Web and Application development. He is the author of insightful How-To articles for Code2care.

Follow him on: X

You can also reach out to him via e-mail: rakesh@code2care.org

Copyright ยฉ Code2care 2024 | Privacy Policy | About Us | Contact Us | Sitemap