Github Private Team Separate SSH Keys

馋奶兔 提交于 2019-11-28 11:51:21

Its pretty simple. Generate diffrent keys on each device as you figured oout

One way to do this is to limit to ssh keys for the devices

You do it simply by storeing diffrent keys on each device and on the ones you dont want to have acces to dont set up ssh keys.


Simply follow those steps and you will set up your ssh key in no time:

  • Generate a new ssh key (or skip this step if you already have a key)
    ssh-keygen -t rsa -C "your@email"

  • Once you have your key set in home/.ssh directory (or Users/<your user>.ssh under windows), open it and copy the content


How to add sh key to github account?

  • Login to github account
  • Click on the rancher on the top right (Settings)

  • Click on the SSH keys

  • Click on the Add ssh key

  • Paste your key and save

And you all set to go :-)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!