How to setup Github SSH key on second computer

后端 未结 3 1750
北海茫月
北海茫月 2021-02-04 08:10

I\'ve got a Github account setup on one computer. I would like to also access my Github account on a second machine using the same SSH key I used for the first computer. How do

3条回答
  •  醉梦人生
    2021-02-04 08:45

    The copying of the private key will work, iff the permissions to the ssh files copied are correct, i.e. readable for the user who uses the keys, something like 555 will do. Also, since github allows multiple ssh keys to be used with same account, you can create a new keypair and add it to your account.

提交回复
热议问题