SSH Key generation

1,690 views
Skip to first unread message

Poorab Sarmah

unread,
Mar 26, 2015, 9:58:03 PM3/26/15
to msy...@googlegroups.com
Greetings,

I am currently encountering a problem while trying to generate a SSH key. 
I have installed GIT windows installation 1.9.5.mysysgit.1. When trying to generate a SSH, I am prompted to enter a password followed by a confirmation.
After this, I get the following error:

"child process exited abnormally
Could not create directory '/h/.ssh': No such file or directory
open /h/.ssh/id_rsa failed: No such host or network path.
Saving the key failed: /h/.ssh/id_rsa."



Has anyone encountered this problem.

I will appreciate a solution.

Regards,
Poorab



Poorab Sarmah

unread,
Mar 26, 2015, 10:37:29 PM3/26/15
to msy...@googlegroups.com
Managed to find a solution:
Need to run GIT Bash first:

run:

ssh-keygen -t rsa
after this the key is stored in C:\Users\<Username>\.ssh

Johannes Schindelin

unread,
Mar 27, 2015, 4:00:07 AM3/27/15
to Poorab Sarmah, msy...@googlegroups.com
Or run Git CMD. The %HOME% variable needs to be set correctly for SSH
programs to run correctly.
> --
> --
> *** Please reply-to-all at all times ***
> *** (do not pretend to know who is subscribed and who is not) ***
> *** Please avoid top-posting. ***
> The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki -
> Github accounts are free.
>
> You received this message because you are subscribed to the Google
> Groups "msysGit" group.
> To post to this group, send email to msy...@googlegroups.com
> To unsubscribe from this group, send email to
> msysgit+u...@googlegroups.com
> For more options, and view previous threads, visit this group at
> http://groups.google.com/group/msysgit?hl=en_US?hl=en
>
> ---
> You received this message because you are subscribed to the Google
> Groups "Git for Windows" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to msysgit+u...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages