question

MadalaHanumantharao-5095 avatar image
0 Votes"
MadalaHanumantharao-5095 asked MadalaHanumantharao-5095 answered

Windows could not start the OpenSSH SSH Server service on Local Computer in Windows Server 2019 on azure cloud

Hi Team,

We are getting the following error message while starting the windows service with service account.
Kindly advise us on this at the earliest.

Error 1297: A privilege that the service requires to function properly does not exist
in the service account configuration. you many use the Services microsoft management console
(MMC) snap-in (services.msc) and the local Security settings MMC snap-in (seapol.msc)
to view the service configuration and the account configuration.

139435-image.png

139403-image.png


windows-server
image.png (209.9 KiB)
image.png (13.7 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hello @MadalaHanumantharao-5095,

Thank you for your question and for getting in touch.

From an admin command or PowerShell prompt, run compmgmt.msc. Check if the service is running, if not, start it. If it fails to start, check the system event log for errors.

See also the topic below that talks about a problem similar to yours, I believe it might be useful for you:

https://social.technet.microsoft.com/Forums/windows/en-US/5347fb87-5b90-4cf0-a80f-12d759af53a4/having-trouble-getting-the-builtin-openssh-server-to-work?forum= win10itprogeneral




If the answer is helpful, please vote positively and accept as an answer.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MadalaHanumantharao-5095 avatar image
0 Votes"
MadalaHanumantharao-5095 answered

Hi ,

I have gone through the provided link and doesn't meet my requirement.

Basically I have changed the "Log On As" account from Local System to specific user account for "OpenSSH SSH Server" service in Windows 2019 Server.
During startup of "OpenSSH SSH Server" service I have faced the above error..

Note: With Local System, I managed to start the service("OpenSSH SSH Server") with out any issues

For Azure Fileshare usage, Do I need to set specific user account to run "OpenSSH SSH Server" service.
And also Please advise on following requirement:
How to mount Azure fileshare for all users in Windows 2019 server. After reboot of VM, any user logged in should able to see mounted drive(azure fileshare)

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.