我已经设置了Github的密钥访问权限。当我从Git Bash命令行推送时,一切正常。但是我不能在命令行中使用它。当我做一个SSH -T [email protected]的命令行,它说不能从命令行推送到Github
Permission denied (publickey).
如果我做一个混帐推说
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我知道钥匙是正确的,仓库存在,因为它从git bash中正常工作。有任何想法吗?
您要么没有运行SSH代理,要么代理不知道您的SSH密钥。 –
可能重复[Git - 权限被拒绝(publickey)](https://stackoverflow.com/questions/2643502/git-permission-denied-publickey) – phd