How to configure SSH private key for Fork on Mac?

14.8k views Asked by At

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?

2

There are 2 answers

2
Stanislav Bashkyrtsev On BEST ANSWER
  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.

0
Enrico Susatyo On

With Fork, you can go to Fork -> Configure SSH Keys option, then select the SSH key that you desire in the dialog box.

This seems to be a new feature in Fork 2.5

enter image description here