Git 生成 SSH 密匙
· One min read
生成 SSH 密匙
ssh-keygen -t rsa -C "xxx@gmail.com" //填写 email 地址,然后一直“回车”ok
密匙存在 ~/.ssh/id_rsa.pub
文件,在 Github 的账号Edit Profile
里面SSH and GPG keys
新建 SSH 复制该文件里面的密匙即可。
ssh-keygen -t rsa -C "xxx@gmail.com" //填写 email 地址,然后一直“回车”ok
密匙存在 ~/.ssh/id_rsa.pub
文件,在 Github 的账号Edit Profile
里面SSH and GPG keys
新建 SSH 复制该文件里面的密匙即可。
Latest Official zsh-git: aliases