OS: Fedora 33
$ ssh -V
OpenSSH_8.4p1, OpenSSL 1.1.1i FIPS 8 Dec 2020
$ ssh git@gitee.com
git@gitee.com: Permission denied (publickey).
$ ssh git@gitee.com -o PubkeyAcceptedKeyTypes=+ssh-rsa
Hi boleynsu! You've successfully authenticated, but GITEE.COM does not provide shell access.
Connection to gitee.com closed.
You have found the solution
Use ssh-keygen -t ed25519 -C "your@example.com"
to build ssh key, and submit public key to gitee.(remove old public key)
Then use ssh -T git@gitee.com
to test it
Have fun
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
Hi SURA@, I believe this also means that the SSH server used by gitee should be upgraded. The same configuration works for both github and gitlab.
I will append it to the check list
I will investigate in depth later, although I think this is a feature from the client
Thanks for your feedback
After 4 months, this is still not fixed :(
After 4 months, this is still not fixed :(
@boleynsu
We used golang to build ssh server
Currently it does not support RSA SHA-2 host key signatures
We are waiting for x/crypto/ssh to support it
In fact, we currently have no other choice but to wait
It is recommended that you first use ed25519 to create an ssh key
I will continue to pay attention to this issue
Thank u!
Did you file an issue to the upstream? Or find an existing issue?
It would be better you can link it here.
The issue is fixed in the upstream now and I have verified that it won't repro on gitee.com.
登录 后才可以发表评论