ssh-agent disabled

"No such file or directory" errors usually indicate the SSH agent service isn't running:

> ssh-add -l
Error connecting to agent: No such file or directory

Try starting the service:


If you receive an error like the following:

> ssh-agent
unable to start ssh-agent service, error :1058

It usually indicates that the SSH agent service can't start as it has been disabled, likely by a recent Windows update. To correct this, change its startup type from an elevated shell:

Set-Service -Name ssh-agent -StartupType Automatic