github 配置 ssh key ssh-key
·
在 Linux 上:
ssh-keygen -t rsa -C "xxx@xxx.com"
随后
cat ~/.ssh/id_rsa.pub
复制到 github -> Settings -> SSH and GPG keys -> New SSH
随后验证:
ssh -T git@github.com
预期输出:
Hi xxx! You've successfully authenticated, but GitHub does not provide shell access.
更多推荐
所有评论(0)