Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7929967
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T20:15:49+00:00 2026-06-03T20:15:49+00:00

The problem: When I try to use a ssh2-RSA key generated by puttygen with

  • 0

The problem: When I try to use a ssh2-RSA key generated by puttygen with the command line git tool the key is rejected.

Details: I have TortoiseGit installed on my computer (as well as msysgit). TortoiseGit is set to use PuttyGen to generate it’s keys. When I try to use one of the keys generated by PuttyGen in the command line git tool it denies the public key and in some cases will ask for a password even though the key has none. I have had this issue on multiple computers (all running windows 7 x64) any idea of how to get around this so i don’t have to have separate keys for my cmd line client and TortoiseGit?

It may also be of interest that TortoiseGit is set to autoload a putty key for each repo form the push dialog. When i run ssh -v git@github.com it finds the key correctly but when it trys to connect it is rejected saying the key is wrong. If i use a key made by ssh-keygen it works just fine.

Software Versions:
MsysGit 1.7.7.1
SSH 4.6p1
PuttyGen 0.61
Tortise 1.7.5.0

Thanks for your help (and if this is the wrong exchange to be putting this on please tell me so i can close and move it quickly)
Eric Fode

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T20:15:51+00:00Added an answer on June 3, 2026 at 8:15 pm

    Duplicate of this one. In short: PuTTY (which puttygen is a part of) and OpenSSH (which ssh-keygen is a part of) use different format to store its keys, and you have to either stick to one of them or perform conversions.

    Personally, I have set up Git to use plink.exe as its SSH agent and feed it keys via the pageant program which is PuTTY’s ssh-agent.

    To make it maybe more clear: Git for Windows bundles OpenSSH but it’s not tied to it and can happily use PuTTY if told to do so. Everyone can pick their choice here. I think that if PuTTY is installed in the system or used by some other tool (looks like your case) making Git use PuTTY is a natural choice then.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i am having this problem try to use the cocos2d CCScrollLayer I have added
I have a problem : I try to use the sfNumberValidator, but it doesn't
I have a display problem when I try to use a ajax combobox inside
I have this problem when I try to use script/generate: $ script/generate start /Users/gst/.gem/ruby/1.8/gems/hpricot-0.8.1/lib/fast_xs.bundle:
I have a problem with Automapper when I try use custom resolver which uses
I try to use Helvetica font with size 13 pt. I have a problem,
I have a problem when I try to persist my model. An exception is
I have this problem when i try to synchronize a observable list with listbox/view
I have a problem when I try to set up Xcode . shown in
I'm fairly new to Mvc and ran into a problem try to use an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.