首先,附上我自己搭建的Gitea环境
然后我在本地电脑上设置了ssh密钥,在设置里面添加了公钥
执行 ssh -T gitea@git.rumosky.com -p2222,结果如下:
Hi there, rumosky! You’ve successfully authenticated with the key named ZTZN, but Gitea does not provide shell access.
If this is unexpected, please log in with password and setup Gitea under another user.
这说明SSH是好的啊,而且修改的端口也是生效的
但是,我新建一个仓库,然后git clone之后,显示:
Gitea: Internal error
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
不知道是什么意思,为什么就没有权限了,仓库肯定是存在的,求助!!!!