Windows 10 SSH Client
2019-01-03 本文已影响0人
比特松
WIN10 在更新中添加了内置的 OpenSSH 支持,如果没有特殊要求的话便可以抛弃 PuTTY 、KiTTY 或 SSHSecureShellClient 等工具,使用内置 OpenSSH 客户端进行 SSH 链接,也省的考虑压缩算法不一致的问题了。
安装 OpenSSH 客户端
1、在开始图标右键,选择应用和功能,弹出如下设置界面,点击管理可选功能

2、选择管理可用功能,弹出管理可选功能,点击添加功能

3、在弹出的添加功能中选择 OpenSSH 客户端

4、安装成功后返回即可看到

使用 OpenSSH 客户端
在开始菜单右键,打开 Windows PowerShell 或 Win + X 选择 Windows PowerShell,使用方法与 Xnix 一致

附:
感兴趣的同学也可以使用命令安装
Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'
# This should return the following output:
Name : OpenSSH.Client~~~~0.0.1.0
State : NotPresent
Name : OpenSSH.Server~~~~0.0.1.0
State : NotPresent
# Install the OpenSSH Client
Add-WindowsCapability -Online -Name OpenSSH.Client~~~~0.0.1.0
# Install the OpenSSH Server
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
# Both of these should return the following output:
Path :
Online : True
RestartNeeded : False
Reference:
https://www.howtogeek.com/336775/how-to-enable-and-use-windows-10s-built-in-ssh-commands/
https://docs.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse
https://www.liquidweb.com/kb/using-ssh-client-windows-10/