SL Micro 上的远程 root 登录
For enhanced security, new installations of SL Micro 6.2 and later do not allow password-based remote root login anymore, which affects server and proxy container hosts running on SL Micro and managed SL Micro clients. Also, SLE Micro 5.5 clients with password-based remote root login which will when be migrated to 6.1/6.2 will suddenly lose this access and must be newly configured. For more information, see SL Micro Release Notes 6.2 (https://documentation.suse.com/releasenotes/sle-micro/html/releasenotes_sle-micro_6.2/).
在部署 SUSE Multi-Linux Manager 的组件(如 SUSE Multi-Linux Manager 代理)时,默认情况下需要进行基于口令的远程 root 登录。您可通过以下步骤启用基于口令的远程 root 登录。
您可通过两种方式启用 SSH root 用户登录功能,两种方式均可生效,请根据实际设置环境选择合适的方案。
方案一:使用预配置的软件包
在客户端上通过 UI/API 安装软件包
openssh-server-config-rootlogin。在 UI 或终端中重引导容器主机以激活新配置
方案二:手动编辑 SSH 配置文件
添加一个补充配置文件
/etc/ssh/sshd_config.d/permit_root.conf,在其中包含以下内容:PermitRootLogin yes重新加载 SSH 服务器配置
systemctl reload sshd如果目前通过 SSH 连接服务器,请在断开连接前,新建一个 SSH 连接以验证服务器运行是否正常。
For more information about transactional-update, see https://documentation.suse.com/sle-micro/6.2/html/Micro-transactional-updates/index.html.