Bug 3466 - [anolis8.8][qcow2][aarch64] 使用anolis-8.8-aarch64.qcow2通过xml拉起的虚拟机无法ssh进系统
Summary: [anolis8.8][qcow2][aarch64] 使用anolis-8.8-aarch64.qcow2通过xml拉起的虚拟机无法ssh进系统
Status: RESOLVED BYDESIGN
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: Images&Installations (show other bugs) Images&Installations
Version: 8.8
Hardware: All Linux
: P2-High S2-major
Target Milestone: ---
Assignee: wb-zh951434
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-14 15:00 UTC by anolislw
Modified: 2022-12-17 11:35 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description anolislw alibaba_cloud_group 2022-12-14 15:00:48 UTC
Description of problem:
使用anolis-8.8-aarch64.qcow2通过xml拉起的虚拟机无法ssh进系统
报错信息:
--------------------
#ssh 192.168.122.47
Permission denied (publickey,gssapi-keyex,gssapi-with-mic).
--------------------
qcow2 link: https://mirrors.openanolis.cn/anolis/8.8/isos/BETA/aarch64/anolis-8.8-aarch64.qcow2

通过修改/etc/ssh/sshd_config中PasswordAuthentication no为PasswordAuthentication yes,重启sshd服务,可以解决ssh无法连接的问题,请评估下,站在用户侧考虑该配置是否需要开启呢?


Steps to Reproduce:
1. 使用xml启动虚拟机
2. ssh +ip
Comment 1 liuyaqing alibaba_cloud_group 2022-12-14 15:07:08 UTC
anolis8.8-x86_64 qcow2有相同的情况

qcow2 link:https://mirrors.openanolis.cn/anolis/8.8/isos/BETA/x86_64/anolis-8.8-x86_64.qcow2
使用相同的方法可解决
Comment 2 wb-zh951434 alibaba_cloud_group 2022-12-15 13:15:24 UTC
云上的安装系统过程中用了ssh key而非密码,出于安全考虑,该参数默认设置为no禁止ssh密码登录
Comment 3 anolislw alibaba_cloud_group 2022-12-17 11:35:40 UTC
@wb-zh951434,已确认非问题,此单可以关闭