« Belatedly start to study Git | Home | How to sync between Redmine and GitLab »

Apr 062013

How to make SSH key with SourceTree on Windows

  1. At first, clone repository on SSH. you will get a error message like below.2013-04-06_143535
  2. Select "Tools / Create or Import SSH key", then PuTTYgen dialog open.
  3. set parameters "SSH-2 RSA" and click "Generate".
  4. PuTTYgen start to Generate key.
    It tells"Please generate some randomness by moving the mouse over the blank area".
    If you don't do it, generate process doesn't progress. so move mouse on it.(I don't know the reason...)
  5. The key generated. and enter "key passphrese" (it's used to login SSH gateway), and save private Key and copy public key and save it.
  6. Select "Tools/Launch SSH Agent(Pagaent)", then input dialog for passphrese opened, so enter passphrese and OK.
  7. If you use it to connect Git service, visit service setting page and register it.

  8. Clone repository on SSH and now get no errors.

  9. That's done!

Leave a comment

Search and Archives