1.First you'll want to cd into your .ssh directory. Open up theterminal and run:
cd ~/.ssh&& ssh-keygen
2.Next you need to copy this to your clipboard:
catid_rsa.pub | xclip
3.Add your key to your account via the website.
4.Finally setup your .gitconfig:
git config --global user.name "chenjunliaaa"
git config --global user.email chenjunli@antiy.cn
本文详细介绍了如何在本地计算机上配置SSH密钥以便无密码登录远程服务器。具体步骤包括进入.ssh目录、生成SSH密钥对、将公钥复制到剪贴板以及通过网站添加公钥到账户中。此外还介绍了如何设置.gitconfig文件。
6291

被折叠的 条评论
为什么被折叠?



