搜索
您的当前位置:首页正文

git push and unable to access Se

来源:二三娱乐

1)终端下执行

2)Enter passphrase (empty for no passphrase):---随便输入一个密码

3)拷贝公钥

pbcopy < ~/.ssh/id_rsa.pub

1)登录github点击右上角setting

2)add new ssh

3、测试SSH的连接

1)打开终端输入

2)输入1里面设置的密码,看到如下内容表示成功

Hi herry-ff! You've successfully authenticated, but GitHub does not provide shell access.

Top