SSHD Service on Windows Server 2012 R2 not showing

1

1

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.

Peter

Posted 2019-01-10T15:24:46.990

Reputation: 115

Answers

-1

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 AgentImage.

And the command I use to start the service is Start-Service sshd

Tim Huang

Posted 2019-01-10T15:24:46.990

Reputation: 1

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)'." – Martin Prikryl – 2019-07-24T13:48:47.277

Oh, sorry, I'm answer the question about Unser services sshd doesn't show either. And I think he can find the service OpenSSH SSH Server in the services maybe and start it with the UI. – Tim Huang – 2019-07-26T09:17:50.367

I do not think that the UI would work, when Start-Service sshd does not. – Martin Prikryl – 2019-07-26T10:38:43.343