teamide icon indicating copy to clipboard operation
teamide copied to clipboard

异常:ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain

Open zhangwei911 opened this issue 1 year ago • 7 comments

异常:ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain

zhangwei911 avatar Oct 21 '23 08:10 zhangwei911

这个应该是SSH服务器加密方式不同,我这边看下添加加密方式,你方便说下 你的SSH服务的加密方式、SSH版本吗

team-ide avatar Oct 24 '23 06:10 team-ide

是这样看吗? | | 张维 | | @.*** | ---- 回复的原邮件 ---- | 发件人 | @.> | | 发送日期 | 2023年10月24日 14:41 | | 收件人 | @.> | | 抄送人 | @.> , @.> | | 主题 | Re: [team-ide/teamide] 异常:ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain (Issue #126) |

这个应该是SSH服务器加密方式不同,我这边看下添加加密方式,你方便说下 你的SSH服务的加密方式吗

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

zhangwei911 avatar Oct 24 '23 08:10 zhangwei911

[root@VM-4-5-opencloudos ~]# ssh -Q cipher 3des-cbc aes128-cbc aes192-cbc aes256-cbc [email protected] aes128-ctr aes192-ctr aes256-ctr [email protected] [email protected] [email protected] [root@VM-4-5-opencloudos ~]# ssh -Q cipher-auth [email protected] [email protected] [email protected] [root@VM-4-5-opencloudos ~]# ssh -Q mac hmac-sha1 hmac-sha1-96 hmac-sha2-256 hmac-sha2-512 hmac-md5 hmac-md5-96 [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]

[root@VM-4-5-opencloudos ~]# ssh -V OpenSSH_8.0p1, OpenSSL 1.1.1k FIPS 25 Mar 2021

zhangwei911 avatar Oct 24 '23 08:10 zhangwei911

我这边升级到同样的版本,加密方式相同,可以登录 你检查下 /etc/ssh/sshd_config/etc/ssh/ssh_config 配置中 PasswordAuthentication 值是否是 yes ssh必须配置密码,检查密码输入是否正确

team-ide avatar Oct 24 '23 11:10 team-ide

我用windterm和termius都可以

---- 回复的原邮件 ---- | 发件人 | @.> | | 日期 | 2023年10月24日 19:15 | | 收件人 | @.> | | 抄送至 | @.>@.> | | 主题 | Re: [team-ide/teamide] 异常:ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain (Issue #126) |

我这边升级到同样的版本,加密方式相同,可以登录 你检查下 /etc/ssh/sshd_config、/etc/ssh/ssh_config 配置中 PasswordAuthentication 值是否是 yes ssh必须配置密码,检查密码输入是否正确

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

zhangwei911 avatar Oct 24 '23 11:10 zhangwei911

我这边再看看吧 复现不出来不好弄

team-ide avatar Oct 25 '23 02:10 team-ide

我所有GCP的VPS,都无法登录,都提示 start error:ssh: handshake failed: EOF

w37fhy avatar Nov 05 '23 14:11 w37fhy