我已使用以下手册在Windows Server 2016上安装OpenSSH:http://woshub.com/installing-sftp-ssh-ftp-server-on-windows-server-2012-r2/但是,我无法启动OpenSSH(错误1067)。最重要的是,sshd在services.msc中根本不存在。
PS C:\OpenSSH-Win64> .\install-sshd.ps1
[SC] SetServiceObjectSecurity SUCCESS
[SC] ChangeServiceConfig2 SUCCESS
[SC] ChangeServiceConfig2 SUCCESS
sshd and ssh-agent services successfully installed
稍后:
PS C:\OpenSSH-Win64> Start-Service sshd
Start-Service : Failed to start service 'OpenSSH SSH Server (sshd)'.
At line:1 char:1
+ Start-Service sshd
+ ~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OpenError: (System.ServiceProcess.ServiceController:ServiceController) [Start-Service], ServiceCommandException
+ FullyQualifiedErrorId : StartServiceFailed,Microsoft.PowerShell.Commands.StartServiceCommand
任何帮助专家都很感激!