Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/ssh/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何在windows10 64位上启动openssh?_Windows_Ssh_Windows 10_Openssh - Fatal编程技术网

如何在windows10 64位上启动openssh?

如何在windows10 64位上启动openssh?,windows,ssh,windows-10,openssh,Windows,Ssh,Windows 10,Openssh,我无法在windows10 64位上启动openssh。完成安装后,我按照以下说明设置passwd: 1. Open a command prompt and change to the installation directory (Program Files\OpenSSH is the default). 2. CD into the bin directory. 3. Use mkgroup to create a group permissions file. For loc

我无法在windows10 64位上启动openssh。完成安装后,我按照以下说明设置passwd:

1.  Open a command prompt and change to the installation directory (Program Files\OpenSSH is the default).

2.  CD into the bin directory.

3.  Use mkgroup to create a group permissions file. For local groups, use the "-l" switch. For domain groups, use the "-d" switch.
    For both domain and local, it is best to run the command twice (remember to use >>, not >). If you use both, make sure to edit the file to remove any duplicate entires.

      mkgroup -l >> ..\etc\group      (local groups)

4.  Use mkpasswd to add authorized users into the passwd file. For local users, use the "-l" switch. For domain users, use the "-d" switch.
    For both domain and local, it is best to run the command twice (remember to use >>, not >). If you use both, make sure to edit the file to remove any duplicate entires.

      mkpasswd -l >> ..\etc\passwd      (local users)
我已禁用windows10默认ssh服务。因此端口22可用。之后,我尝试启动sshd服务器,但失败了。 下面是我得到的错误

C:\Program Files (x86)\OpenSSH>net start opensshd
The OpenSSH Server service is starting.
The OpenSSH Server service could not be started.

A system error has occurred.

System error 1067 has occurred.

The process terminated unexpectedly.

如何在windows10 64位上配置sshd?

事实证明,我安装了非常旧版本的
openssh
。升级到
openssh 7.5
后,它工作正常