Description of problem: 使用最新的vhd镜像创建ecs实例后,无法使用root远程登录 Version-Release number of selected component (if applicable): # cat /etc/os-release NAME="Anolis OS" VERSION="23" ID="anolis" VERSION_ID="23" PLATFORM_ID="platform:an23" PRETTY_NAME="Anolis OS 23" ANSI_COLOR="0;31" HOME_URL="https://openanolis.cn/" BUG_REPORT_URL="https://bugzilla.openanolis.cn/" # uname -r 5.17.0-1.an23.x86_64 How reproducible: 必现 Steps to Reproduce: 1.上传vhd镜像 2.使用vhd镜像创建ecs实例 3.ssh远程登录实例 Actual results: 通过ssh未能远程登录实例 Expected results: 可通过ssh远程登录实例 Additional info: 通过一些配置查看,看到sshd_config内的PermitRootLogin项配置成了no
Anolis 23 Preview x86版本仍然存在该问题 无法通过账密ssh登录,/etc/ssh/sshd_config配置PasswordAuthentication no 目前测试工具主要通过账密登录,该问题会影响测试执行
(In reply to bolong_tbl from comment #1) > Anolis 23 Preview x86版本仍然存在该问题 > 无法通过账密ssh登录,/etc/ssh/sshd_config配置PasswordAuthentication no > 目前测试工具主要通过账密登录,该问题会影响测试执行 从安全角度考虑,确实建议关闭密码登陆的方式,而推荐使用密钥对。
历史问题,属于设定问题,不属于 bug,关闭