Microsoft announced it was bringing an integrated OpenSSH client to Windows in 2015. They’ve finally done it, và an SSH client is hidden in Windows 10’s Fall Creators Update. You can now connect to lớn an Secure Shell hệ thống from Windows without installing PuTTY or any other third-tiệc ngọt software.

Bạn đang xem: Cara mengaktifkan ssh di windows 10

Update: The built-in SSH client is now enabled by default in Windows 10’s April 2018 Update. Here’s how to lớn get the update if you don’t already have sầu it on your PC.

PuTTY may still have sầu more features. According to lớn the project’s bug tracker on GitHub, the integrated SSH client only supports ed25519 keys at the moment.


How lớn Install Windows 10’s SSH Client

RELATED: What"s New in Windows 10"s Fall Creators Update, Available Now

The SSH client is a part of Windows 10, but it’s an “optional feature” that isn’t installed by default.

To install it, head khổng lồ Settings > Apps và cliông xã “Manage optional features” under Apps & features.

*

Cliông xã “Add a feature” at the top of the list of installed features. If you already have sầu the SSH client installed, it will appear in the list here.

*

Scroll down, cliông chồng the “OpenSSH Client (Beta)” option, and cliông chồng “Install”.

Xem thêm: 65" T6 Series - Tcl Android Tv T6 Series

Windows 10 also offers an OpenSSH VPS, which you can install if you want khổng lồ run an SSH VPS on your PC. You should only install this if you actually want lớn run a server on your PC & not just connect khổng lồ a hệ thống running on another system.

*

How to Use Windows 10’s SSH Client

You can now use the SSH client by running the ssh comm&. This works in either a PowerShell window or a Commvà Prompt window, so use whichever you prefer.

To quickly open a PowerShell window, right-click the Start button or press Windows+X and choose “Windows PowerShell” from the thực đơn.

To view the syntax of the ssh comm&, just run it:

sshIf you see an error message saying the commvà isn’t found, you will need to sign out and sign in again. Rebooting your PC will also work. This shouldn’t be necessary, but this is a beta feature.

*

RELATED: How khổng lồ Connect to an SSH Server from Windows, macOS, or Linux

This commvà works the same as connecting lớn an SSH server via the ssh comm& on other operating systems like macOS or Linux. Its syntax, or commvà line options, are the same.

Xem thêm: Adelma Vay Von - Vay Vốn Agribank

For example, lớn connect to lớn an SSH hệ thống at ssh.example.com with the username “bob”, you’d run:

ssh bob
ssh.example.comBy default, the commvà attempts to lớn connect to an SSH hệ thống running on port 22, which is the default. However, you may need to lớn connect lớn a server running on a different port. You bởi vì this by specifying a port with the -p switch. For example, if the hệ thống accepts connections on port 7777, you’d run:

ssh bob
ssh.example.com -p 7777

*

As with other SSH clients, you’ll be prompted lớn accept the host’s key the first time you connect. You’ll then get a command-line environment you can use lớn run commands on the remote system.

*

RELATED: What is SSH Agent Forwarding and How Do You Use It?


READ NEXT
*
Chris HoffmanChris Hoffman is Editor-in-Chief of How-To Geek. He"s written about giải pháp công nghệ for over a decade and was a PCWorld columnist for two years. Chris has written for The Thủ đô New York Times, been interviewed as a technology expert on TV stations like Miami"s NBC 6, và had his work covered by news outlets like the BBC. Since 2011, Chris has written over 2,000 articles that have been read nearly one billion times---và that"s just here at How-To Geek. Read Full Bio »

Chuyên mục: Windows