root@debian64:/home/xiaoliuzi/.ssh/key_backup# ssh -T git@github.com The authenticity of host 'github.com (192.30.252.131)' can't be established. RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. Are you sure you want to continu
第一:检查.ssh是否存在(ls -al ~/.ssh) $ ls -al ~/.ssh Lists the files in your .ssh directory, if they exist 第二:产生新的SSH key(ssh-keygen -t rsa -C "your_email@example.com") $ ssh-keygen -t rsa -C "your_email@example.com" Creates a new ssh key, usi
由于最近电脑重装了Windows 8.1, 想用github维护一些代码.故不得不重新生成一下ssh key. 按https://help.github.com/articles/generating-ssh-keys向导一步一步往下走. 当到如下这一步时,产生了一个错误. $ ssh-add ~/.ssh/id_rsa Could not open a connection to your authentication agent. 解决方案: 执行如下命令即可: exec ssh-agent