Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to configure SSH private key for Fork on Mac?

I prefer Fork's GUI, but seems unlike other Git client software which we can specify the path of our own SSH keys!

Neither Preference nor Clone on Fork's menu, I cannot find where/how to specify SSH private keys! Can someone let me what/how to do in detail?

like image 747
David Avatar asked Oct 28 '22 08:10

David


1 Answers

  1. Generate a key and set up ~/.ssh/config file
Host github_for_fork
  IdentityFile ~/.ssh/my_new_id_rsa
  HostName github.com
  1. Then when cloning repo - use the host alias that you configured in config: git clone git@github_for_fork:org/repo.git

PS: I haven't worked with Fork per se, but usually that's the algorithm.

like image 91
Stanislav Bashkyrtsev Avatar answered Dec 08 '22 02:12

Stanislav Bashkyrtsev