我在Ubuntu16.04上,试图使用ssh-add命令在我的CAC卡上添加证书,但没有运气。
ssh-add -s /usr/local/lib/opensc-pkcs11.so
Enter passphrase for PKCS#11:
Could not add card "/usr/local/lib/opensc-pkcs11.so": agent refused operation
我甚至试着把钥匙白名单:
1) ls -al /usr/lib/x86_64-linux-gnu/*opensc* ----> Found the symlink
2) rm
我按照教程在github上生成了SSH :在上面链接教程的第5步,在我输入ssh -T git@github.com之后,我应该会看到下面的内容:
The authenticity of host 'github.com (207.97.227.239)' 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 continue connecting (yes/no)?
然而,我看到
我正在尝试使用ssh访问bit桶。我可以使用我的密钥- id_rsa访问.但是我试图为位桶做一个不同的键,但是我有一个新的密钥添加到ptoblem中。
我正在学习本教程-
但当我执行命令时-
sudo ssh-add ~/.ssh/rsa_bitbucket
上面写着-
Could not open a connection to your authentication agent.
我不能添加这个新键,我正在使用( Manjaro / Arch linux )
MacBook-Pro:rails1 woo$ ssh vagrant@10.0.1.92
Welcome to Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-91-generic x86_64)
* Documentation: https://help.ubuntu.com/
System information as of Tue Jul 5 03:52:20 UTC 2016
System load: 0.0 Users logged in: 1
Usage of /: 4.0% of 39.
我有一个问题:
$ git push -u origin master
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我已经检查了连接,执行以下操作:
$ ssh -vT git@github.com
输出看起来很好,我的身份验证是正确的。
在进一步检查时,我注意到:
$ ssh-add -l
The agent has no i