2017-07-17 4 views
-2

Ich konnte openssh auf Windows10 64bit nicht starten. Nach dem Abgang folgte die Installation, ich unten zur Einrichtung passwd:Wie openssh auf Windows10 64bit zu starten?

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) 

Ich habe den Microsoft Windows 10 Standard-SSH-Dienst deaktiviert. Also ist der Port 22 verfügbar. Danach habe ich versucht, den sshd-Server zu starten, aber es ist fehlgeschlagen. Unten ist der Fehler, den ich bekam.

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. 

Wie kann ich die sshd auf Windows10 64bit konfigurieren?

Antwort

0

Es stellte sich heraus, dass ich eine sehr alte Version von openssh installiert habe. Es funktioniert gut, nachdem ich auf openssh 7.5 aktualisiert habe.

Verwandte Themen