-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to start ssh-agent service, error :1058 #70
Comments
It seems the issue is caused by $profile file encoding. Changing file encoding from UTF16-LE to |
I'm hitting exactly the same problem and even a full reinstall of scoop doesn't fix the issue. Any tips on how to get past the warning? |
Having the same problem, even if I run ssh-agent manually. I've removed Windows 10 1803's OpenSSH agent (Optional Features on the Start Menu) as a workaround, but it would be nice if this worked without having to do that. Posh-git is having similar issues - see dahlbyk/posh-git#583. |
I was getting this message and I went into look at the local services and the actual "OpenSSH Authentication Agent" service was disabled. Maybe the 1803 update disabled it, but I'm not sure. I set the service to automatic and now all is fine. |
C:\environment>ssh-agent WIth PowerShell I ran install-sshd.ps1 cd .\Program Files\OpenSSH-Win64 that worked for me |
I fixed it by |
This error occurred after 1809 update. Opening PowerShell as Admin & running |
that is what worked for me too. I think that is the best solution anyway as it will allow you to properly run the service instead of just disabling it. One gotcha: openssh was not even installed on my machine so I just installed it using chocolatey choco install openssh and then after "refreshenv" I applied neusbeers fix. worked like a charm. THX! |
This also worked for me, much appreciated. |
With #76 , the ssh plugin can now detect and start the service automatically. |
|
I confirm, I was having the same issue and set the startup type as manual. I found it on thie blog but that's exactly the recommandation of most of you. |
Set-Service ssh-agent -StartupType Manual |
assuming you already created the authorized_users file in the users .ssh folder on the server and have these set in your sshd_config file
then do this to finish up, while on the server:
you should now be able to ssh into the server using your public key |
After install KB4103721, the error was shown
unable to start ssh-agent service, error :1058
.What is ssh-agent ? What's wrong?
The text was updated successfully, but these errors were encountered: