gpt4 book ai didi

openssh - 无法在 Windows Server 2016 中启动 openssh

转载 作者:行者123 更新时间:2023-12-04 10:55:34 27 4
gpt4 key购买 nike

我已经使用以下手册在 Windows Server 2016 上安装了 OpenSSH:
Installing SFTP (SSH FTP) Server on Windows with OpenSSH
但是,我无法启动 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

最佳答案

以下第 8 步有所帮助:
OpenSSH : Install

Back to PowerShell and move to OpenSSH installed folder, then run [.\FixHostFilePermission.ps1] like follows.

关于openssh - 无法在 Windows Server 2016 中启动 openssh,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59227749/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com