I tried to install open-ssh on the windows server to test a script for sftp.
I followed this guide.
After setting up the path and switching to the folder I ran from a admin power shell:
.\install-sshd.ps1
-> 3 'SUCCESS'
.\ssh-keygen.exe -A
-> Worked
Get-Service | findstr ssh
->
Stopped ssh-agent OpenSSH Authentification Agent
Stopped sshd OpenSSH SSH Server
So I ran:
Start-Serivce ssh
-> Failed to start service 'Open SSH Server (sshd)'.
I have no clue what to do next. Unser services
sshd doesn't show either.
-
1the name has changed to "ssh-agent" by OpenSSH Authentication Agent. Thanks,– giridharvedulaJul 17, 2021 at 23:46
Add a comment
|
1 Answer
I'm following the same guide as you do, I'm also install the OpenSSH on Win Server 2012R2
In my case, the service name in windows services
wasn't sshd
but OpenSSH SSH Server
and OpenSSH Authentication Agent
Image.
And the command I use to start the service is Start-Service sshd
-
This is probably not an answer to the OP's question. OP probably used
Start-Service sshd
too -Start-Serivce ssh
is obviously just a typo (two typos), as the command understood, what OP wanted => "Failed to start service 'Open SSH Server (sshd)'." Jul 24, 2019 at 13:48 -
Oh, sorry, I'm answer the question about
Unser services sshd doesn't show either.
And I think he can find the serviceOpenSSH SSH Server
in the services maybe and start it with the UI. Jul 26, 2019 at 9:17 -
I do not think that the UI would work, when
Start-Service sshd
does not. Jul 26, 2019 at 10:38