teg windows 安装openssh 远程管理

2021-01-04 09:58:01 浏览数 (3)


下载OpenSSH-Win64.zip

代码语言:javascript复制
C:Program FilesOpenSSH-Win64>powershell.exe -ExecutionPolicy Bypass -File install-sshd.ps1
[SC] SetServiceObjectSecurity 成功
[SC] ChangeServiceConfig2 成功
[SC] ChangeServiceConfig2 成功
sshd and ssh-agent services successfully installed

C:Program FilesOpenSSH-Win64>sc config sshd start= auto
[SC] ChangeServiceConfig 成功

C:Program FilesOpenSSH-Win64>
C:Program FilesOpenSSH-Win64>net start sshd
OpenSSH SSH Server 服务正在启动 ...
OpenSSH SSH Server 服务已经启动成功。


C:Program FilesOpenSSH-Win64>

0 人点赞