Wednesday, 24 May 2023

starting ssh in windows

 if you are getting the following error when you are trying to turn on SSH service via following command in power shell

>> Start-Service ssh-agent

Start-Service : Service 'OpenSSH Authentication Agent (ssh-agent)' cannot be started due to the following error:
Cannot start service ssh-agent on computer '.'.
At line:1 char:1
+ Start-Service ssh-agent


Solution :/

setting the service to start manually.

 Start power shell in admin mode.

> Get-Service -Name ssh-agent | Set-Service -StartupType Manual
>then start the service
>  Start-Service ssh-agent

No comments:

Post a Comment