目录
3、配置 SSH Key-Pair Authentication
4、配置 Key-Based Authentication with Public Key
1、配置 SSH Server
1)确认 SSH 安装信息:
Get-WindowsCapability -Online | ? Name -like 'OpenSSH*'
2)安装 SSH Server:
Add-WindowsCapability -Online -Name OpenSSH.Server~~~~0.0.1.0
3)配置并启动 SSH Server 服务:
Set-Service -Name "sshd" -StartupType Automatic
Start-Service -Name "sshd"
Get-Service -Name "sshd"
4)确认防火墙设置:
2、配置 SSH Client
1)确认已安装 SSH Client: