2010-10-12

Using SSH private keys with git and IntelliJ's "IDEA ssh" on Windows

Due to an unfortunate incident with my Linux laptop, I'm stuck working on my Windows gaming rig for a while. That is, of course, an adventure in itself; tonight's adventure was to get private SSH keys working on Windows when using IntelliJ's Git integration.

First step, of course, was to try Pageant. No dice. Then I tried choosing "native ssh" - that just made IntelliJ hang (with no way to cancel - really nice GUI there, guys).

Then the shoe dropped; maybe it pretends to be a "real" ssh client? One short check of my Windows home directory later I'd dropped my id_rsa private key file in %USERPROFILE%/.ssh, and IntelliJ happily picked it up.

11 comments:

Nate said...

I also found it useful to add HOME=%USERPROFILE% to the environment.

Erik Gillespie said...

Great tip, thanks! I generated my key with PuttyGen.exe and exported to OpenSSH format. Then copied it to %USERPROFILE%/.ssh/id_rsa

Ludo said...

You saved my day here. Thanks! Naming the file as id_rsa seems to be the final trick.

Rodislav said...

Many thanks! I have same situation as you.. hope I'll get back to linux soon

Marcus K. said...

Update: With IDEA 15 and Windows 7 the native SSH works fine, even together with Pageant.

hadimoon said...

I guess I am the only one who came here to share my very own experience. Guess what!? I am using my laptop for almost the past 2 years, but I had no idea of solving some basic issues.
https://free4crack.net/wp-admin/
JetBrains PhpStorm Crack

vstfine.com said...

Thanks for sharing this post. Your work is amazing. You can also check out vstfine Crack for Free. You can also visit the

Adobe Media Encoder Crack
RoboForm Crack
K7 Total Security Crack
Panda Antivirus Pro Crack
Driver Genius Pro Crack
Tenorshare ReiBoot Pro Crack
JetBrains PhpStorm Crack
Wondershare Filmora Crack
Avid Pro Tools Crack
GiliSoft Video Converter Crack
Knowledge Has No End Limits Keep Sharing Your Knowledge//

tufail said...

Thank you so much for sharing this amazing information
IntelliJ IDEA

CrackNY said...

Amazing blog! I really like the way you explained such information about this post with us. And blog is really helpful for us this website
Webstorm Crack
Tunnlebear VPN crack
Driver Toolkit crack
iMindMap Pro crack
Minitab Crack
SpyHunter crack
Boom 3D crack
DriverHub Crack
Crackny.com

ryanmay1177 said...

Excellent post. I was checking constantly this blog and I’m impressed! Very useful information particularly the ultimate phase.I handle such info a lot. I used to be looking for this particular information for a very long time. Thanks and best of luck.…PhpStorm 2021.2 Crack

Hamza Taimoor said...

Thanks For https://crackerpc.com/tenorshare-reiboot-4/ You can also visit my Website <a href="https://https://crackerpc.com/</a>