无法在Windows Server 2016中启动openssh

问题描述 投票:0回答:1

我已使用以下手册在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

任何帮助专家都很感激!

openssh windows-server-2016 sshd
1个回答
© www.soinside.com 2019 - 2024. All rights reserved.