当我运行以下它似乎成功:
$ sudo ssh -T git@github.com
Hi x! You've successfully authenticated, but GitHub does not provide shell access.
但是,当我sudo git push
从我的回购中做一个时,它不起作用我得到
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
有人可以在这里帮忙吗?