Git with putty on windows -
when attempting push / pull on ssh, git failing following error:
"c:\program files\git\bin\git.exe" push -u --recurse-submodules=check -progress "testremote" project:project using username "git-receive-pack 'ec2-user". fatal error: disconnected: no supported authentication methods available (server sent: publickey) fatal: not read remote repository. please make sure have correct access rights , repository exists. done
the remote "testremote" setup "ssh://ec2-user@sweeb.net:gittest.git" , i'm using existing keypair have used putty before without issue.
pageant running, key loaded.
i think issue line "using username "git-receive-pack 'ec2-user"." - assumed git's commands breaking on windows space in "program files" i've tried surround double quotes, doesn't seem working. has seen before?
windows vars:
git_ssh=c:\putty\plink.exe path=[...];"c:\program files\git\cmd";"c:\program files\git\libexec\git-core\";"c:\program files\git\bin\"
this solved removing "ssh://", that's implicit in git extensions apparently.
Comments
Post a Comment