SL Micro 上的远程 root 登录
For enhanced security, new installations of SL Micro 6.1 and later do not allow password-based remote root login anymore, which also 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.1 (https://www.suse.com/releasenotes/x86_64/SL-Micro/6.1/index.html#jsc-SMO-405).
While deploying components of SUSE Multi-Linux Manager such as a SUSE Multi-Linux Manager Proxy, password-based remote root login is required by default. You can enable password-based remote root login with the following steps.
您可通过两种方式启用 SSH root 用户登录功能,两种方式均可生效,请根据实际设置环境选择合适的方案。
方案一:使用预配置的软件包
在客户端上通过 UI/API 安装软件包
openssh-server-config-rootlogin。Reboot the container host to activate the new configuration either from UI or from terminal
方案二:手动编辑 SSH 配置文件
添加一个补充配置文件
/etc/ssh/sshd_config.d/permit_root.conf,在其中包含以下内容:PermitRootLogin yesReload the SSH server configuration
systemctl reload sshd如果目前通过 SSH 连接服务器,请在断开连接前,新建一个 SSH 连接以验证服务器运行是否正常。
有关 transactional-update 详细信息,请参见 https://documentation.suse.com/sle-micro/6.1/html/Micro-transactional-updates/。