[GH-ISSUE #2268] openssh 8.8P1连接不上了 #1426

Closed
opened 2026-02-27 00:03:30 +03:00 by kerem · 11 comments
Owner

Originally created by @68cs on GitHub (Oct 3, 2021).
Original GitHub issue: https://github.com/electerm/electerm/issues/2268

Xnip2021-10-04_01-02-53

Originally created by @68cs on GitHub (Oct 3, 2021). Original GitHub issue: https://github.com/electerm/electerm/issues/2268 ![Xnip2021-10-04_01-02-53](https://user-images.githubusercontent.com/25496213/135764085-e0e0a475-b459-43b7-a181-e2530aebebe4.png)
kerem closed this issue 2026-02-27 00:03:30 +03:00
Author
Owner

@zxdong262 commented on GitHub (Oct 4, 2021):

openssh之前的版本就可以吗?

<!-- gh-comment-id:933571260 --> @zxdong262 commented on GitHub (Oct 4, 2021): openssh之前的版本就可以吗?
Author
Owner

@68cs commented on GitHub (Oct 5, 2021):

之前的版本一直正常

<!-- gh-comment-id:933968634 --> @68cs commented on GitHub (Oct 5, 2021): 之前的版本一直正常
Author
Owner

@zxdong262 commented on GitHub (Oct 5, 2021):

/etc/ssh/sshd_config看看PasswordAuthentication 是不是yes?

<!-- gh-comment-id:934111332 --> @zxdong262 commented on GitHub (Oct 5, 2021): `/etc/ssh/sshd_config`看看`PasswordAuthentication `是不是`yes`?
Author
Owner

@68cs commented on GitHub (Oct 5, 2021):

image

<!-- gh-comment-id:934113139 --> @68cs commented on GitHub (Oct 5, 2021): ![image](https://user-images.githubusercontent.com/25496213/135973046-560f249a-fc18-4fc7-b457-734f77ae7fc4.png)
Author
Owner

@zxdong262 commented on GitHub (Oct 5, 2021):

去掉#保存重启sshd服务试试?

<!-- gh-comment-id:934115237 --> @zxdong262 commented on GitHub (Oct 5, 2021): 去掉`#`保存重启sshd服务试试?
Author
Owner

@68cs commented on GitHub (Oct 5, 2021):

image
保存重启后还是“connect ECONNREFUSED 192.168.2.2:22”

<!-- gh-comment-id:934118597 --> @68cs commented on GitHub (Oct 5, 2021): ![image](https://user-images.githubusercontent.com/25496213/135974119-a4e1a332-330d-4e26-a1e5-75d35177e48f.png) 保存重启后还是“connect ECONNREFUSED 192.168.2.2:22”
Author
Owner

@zxdong262 commented on GitHub (Oct 5, 2021):

ChallengeResponseAuthentication yes也打开试试

<!-- gh-comment-id:934120068 --> @zxdong262 commented on GitHub (Oct 5, 2021): `ChallengeResponseAuthentication yes`也打开试试
Author
Owner

@zxdong262 commented on GitHub (Oct 5, 2021):

另外,你直接用系统终端的命令行能连上吗

<!-- gh-comment-id:934121982 --> @zxdong262 commented on GitHub (Oct 5, 2021): 另外,你直接用系统终端的命令行能连上吗
Author
Owner

@68cs commented on GitHub (Oct 5, 2021):

ChallengeResponseAuthentication yes也可以打开实用

还是拒绝连接,另外用Mac自带的终端也是连接不上

<!-- gh-comment-id:934124947 --> @68cs commented on GitHub (Oct 5, 2021): > `ChallengeResponseAuthentication yes`也可以打开实用 还是拒绝连接,另外用Mac自带的终端也是连接不上
Author
Owner

@68cs commented on GitHub (Oct 5, 2021):

image
刷完这个固件后才发现这个问题的

<!-- gh-comment-id:934125918 --> @68cs commented on GitHub (Oct 5, 2021): ![image](https://user-images.githubusercontent.com/25496213/135975762-b0fcc76a-8b7a-4ca7-9849-619179792f7d.png) 刷完这个固件后才发现这个问题的
Author
Owner

@zxdong262 commented on GitHub (Oct 5, 2021):

我试了下mac的8.8p1,改了下配置就连上了,用ed25519 private key登录没改配置也是可以登录的, 还可以参考这个https://ttys3.dev/post/openssh-8-8-p1-no-matching-host-key-type-found-their-offer-ssh-rsa/

<!-- gh-comment-id:934137304 --> @zxdong262 commented on GitHub (Oct 5, 2021): 我试了下mac的8.8p1,改了下配置就连上了,用ed25519 private key登录没改配置也是可以登录的, 还可以参考这个https://ttys3.dev/post/openssh-8-8-p1-no-matching-host-key-type-found-their-offer-ssh-rsa/
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#1426
No description provided.