安装:
- 一直下一步即可。
使用:
- win+r
- cmd start cmd /k ssh Administrator@127.0.0.1 -p 22
- win
- powershell(管理员方式启动)
- New-NetFirewallRule -Name sshd -DisplayName ‘OpenSSH Server (sshd)’ -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22New-NetFirewallRule -Name sshd -DisplayName ‘OpenSSH Server (sshd)’ -Enabled True -Direction Inbound -Protocol TCP -Action Allow -LocalPort 22
连接:
- ssh Administrator@192.168.1.102 -p 22
参考: