Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have used the same public key scheme to ssh to my server that hosts its own git repository. Recently, I changed the location from where I work from (different IP), and now git asks for my password every time I log in.

I'm using Windows to connect to my server, pageant to keep track of the authentication.

I've looked in the auth log files on my server, and each login shows that the public key WAS indeed accepted, yet I am still getting prompted for the pswd on every action.

Any ideas?

share|improve this question
    
Fixed this by just reinstalling git / tortoise, this time using OpenSSH instead of plink. ys.lancop.nl/site/?p=62 helped a lot –  Dirk Jun 21 '10 at 18:31

1 Answer 1

Private key access can be restricted by host. Verify that the public key stored in ~/.ssh/authorized_keys doesn't have a qualifier restricting which hosts it is valid for.

share|improve this answer
    
wasn't an issue, thanks though –  Dirk Jun 21 '10 at 18:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.