windows的openssh服務端
https://github.com/PowerShell/Win32-OpenSSH/releases
配置方式如下:
下載安裝包,32位或64位,解壓,放置在任意目錄。
右鍵-使用powershell運行
將openssh ssh server設置為自動啟動即可。
如想卸載,右鍵-powershell運行uninstall-sshd.ps1即可。
ps:如右鍵-powershell運行報錯,“無法加載文件....,因為在系統中進制執行腳本”。則執行如下操作即可。
使用管理員身份打開powershell
執行set-ExecutionPolicy RemoteSigned
之后,腳本即可正常運行。