书写技术成长之路

Git 生成SSH key

Git 生成SSH key的步骤

  1. Generating a new SSH key ssh-keygen -t rsa -b 4096 -C "your_email@example.com"
  2. Ensure ssh-agent is enabled eval "$(ssh-agent -s)"
  3. Add your SSH key to the ssh-agent ssh-add ~/.ssh/id_rsa

检查SSH是否成功

ssh -T -p 443 git@ssh.github.com