773 Star 1.5K Fork 351

开源中国 / Gitee Feedback

 / 详情

SSH-RSA key rejected with message "no mutual signature algorithm"

已完成
任务
创建于  
2021-01-28 12:06

任务描述

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.

解决方案

Please check https://confluence.atlassian.com/bitbucketserverkb/ssh-rsa-key-rejected-with-message-no-mutual-signature-algorithm-1026057701.html

任务来源

评论 (8)

boleynsu 创建了任务
boleynsu 关联仓库设置为开源中国/Gitee Feedback
诺墨 负责人设置为SURA
展开全部操作日志

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.

SURA 任务状态待办的 修改为进行中

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.

Yashin 关联项目公有云-架构 修改为Git分布式

Did you file an issue to the upstream? Or find an existing issue?

It would be better you can link it here.

@boleynsu Cf golang/go#37278

The issue is fixed in the upstream now and I have verified that it won't repro on gitee.com.

boleynsu 任务状态进行中 修改为已完成

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
4764813 sura907 1578973944
Ruby
1
https://gitee.com/oschina/git-osc.git
git@gitee.com:oschina/git-osc.git
oschina
git-osc
Gitee Feedback

搜索帮助

14c37bed 8189591 565d56ea 8189591