« 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.
    2013-04-06_143601
  3. set parameters "SSH-2 RSA" and click "Generate".
    2013-04-06_143638
  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...)
    2013-04-06_143656
  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.
    2013-04-06_151926
  6. Select "Tools/Launch SSH Agent(Pagaent)", then input dialog for passphrese opened, so enter passphrese and OK.
    2013-04-06_152023
    2013-04-06_152032
  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.
    2013-04-06_152503

  9. That's done!

Leave a comment

Search and Archives