Github连接ssh

1.生成rsa 2048 pub key文件,然后进入github,粘贴入ssh文件处

2.进入linux账户目录,然后建立.ssh目录,将私钥放置到.ssh下,设置权限 chmod 0600 id_rsa

3.使用命令 ssh -t [email protected]即可

Add a Comment

Your email address will not be published. Required fields are marked *