tags:

views:

327

answers:

1

Hi Guys,

I am using plink as part of GIT setup and I have setup my remote keys correctly and can connect via Putty.

However, when I attempt to run msysgit and TortiseGit to clone a git directly - enter the path via

c:\Program Files (x86)\puTTY\plink.exe

I get a window box asking for a password.

Now I have set a pword on my rsa-key - but when I type that password it doesn't work. (i know I can use pageant but it doesnt work because when I enter a pword into that it just says "fatal error hung up")

how can I tell what password or info plink.exe is using as clearly something is wrong ?

A: 

Take a look at this ticket and this guide maybe it will help you.

PS: If your key is password protected you need to have ssh agent (pageant in your case) running with key loaded, otherwise your ssh client wouldn't be able to use your key. The fact that you have a password prompt just means that key-based authentication failed and server accepts password authentication.

PPS: Looking at this and this questions, are you really sure you have same plink used everywhere? I'm not sure all of them would necessarily share configuration, e.g. plink (that comes with putty) and tortoise plink.

Good luck.

Dmitry
the PS section is incorrect on two counts: 1. pageant does not need to be loaded to use password-protected RSA keys and 2. a password prompt does not necessarily indicate that logging in without a key is possible
Chris Shouts
paper1337, I think you're wrong, Nick seems to be getting a _login_ password prompt as a fallback for failed key-authentication, not a key password prompt, and if the server wouldn't accept password-based authentication IIRC it would drop the connection.
Dmitry