I started cmder this morning and got a notification to update. So I did and now I can't seem to use ssh anymore. Here's what happens:
$ eval `ssh-agent`
Agent pid [NUMBER]
$ ssh-add
Error connecting to agent: Connection refused
I use Git bash (Mingw64) with cmder. I tried Git bash directly and SSH works fine over there so it's probably not a problem with that.
I am on Windows 10 64bit and running ConEmu version 161009 stable. My git bash is mintty 2.5.0 (x86_pc-msys).
This was working perfectly fine before this morning's update.
I've downgraded to 160710 now and the ssh agent works again.
I have the same issue.
If I execute "C:\Program Files\Git\cmd\start-ssh-agent.cmd". I get the 'connection refused' message.
If I first start the ssh-agent with ssh-agent -s in a Git Bash console, and then run "C:\Program Files\Git\cmd\start-ssh-agent.cmd", it works.
OS: Windows 10 64bit (build: 10586.589)
Conemu: 161009
I also downgraded, but to the 161002 version. Now it works again.
Looks like there's a problem with 161009 and git, stay on 161002 for the time being.
I'm on 161009 x64 stable, running Cmder with no emulators on top.
Disable your environment variables (Startup > Environment), and try start-ssh-agent. Specifically disabling %ConEnuBaseDir% worked for me.
This breaks if I add the environment path; I get this error:
Fixed in 161009a https://github.com/Maximus5/ConEmu/releases/tag/v16.10.09a
Most helpful comment
Looks like there's a problem with 161009 and git, stay on 161002 for the time being.