Bug 4123 - 【Anolis OS 23】20230220 ISO安装后sshd启动失败
Summary: 【Anolis OS 23】20230220 ISO安装后sshd启动失败
Status: RESOLVED FIXED
Alias: None
Product: Anolis OS 23
Classification: Anolis OS
Component: BaseOS Modules (show other bugs) BaseOS Modules
Version: 23.0
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: happy_orange
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-20 19:37 UTC by xuchunmei
Modified: 2023-02-21 20:13 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xuchunmei alibaba_cloud_group 2023-02-20 19:37:38 UTC
Description of problem:

20230220版本的ISO,安装后,sshd启动失败。

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.ISO版本:anolis-23-x86_64-dvd1-20230220.7.iso
2.安装 server模式
3.查看sshd服务

Actual results:
sshd服务启动失败:
# /usr/sbin/sshd
/etc/crypto-policies/back-ends/opensshserver.config line 5: Bad key types 'ecdsa-sha2-nistp256,ecdsa-sha2-nistp256-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521,ecdsa-sha2-nistp521-cert-v01@openssh.com,ssh-ed25519,ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,rsa-sha2-256,rsa-sha2-256-cert-v01@openssh.com,rsa-sha2-512,rsa-sha2-512-cert-v01@openssh.com'.

Expected results:
sshd服务启动成功

Additional info:
Comment 1 happy_orange alibaba_cloud_group 2023-02-21 20:13:41 UTC
经过定位发现,openssh 中创建的用户组丢失,已经在:openssh-9.0p1-3.an23 中修复,请更新到对应版本。
提交连接:https://gitee.com/src-anolis-os/openssh/pulls/19