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 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).
在部署 SUSE Multi-Linux Manager 的组件(如 SUSE Multi-Linux Manager 代理)时,默认情况下需要进行基于口令的远程 root 登录。您可通过以下步骤启用基于口令的远程 root 登录。
You can enable SSH root login in two different ways. Either of them will work; choose the one that best fits your setup.
Option A: Use the preconfigured package
Install the package
openssh-server-config-rootloginfrom the UI/API on the client.Reboot the container host to activate the new configuration either from UI or from terminal
Option B: Edit the SSH configuration manually
Add a drop-in config
/etc/ssh/sshd_config.d/permit_root.conffile, with the following content:PermitRootLogin yesReload the SSH server configuration
systemctl reload sshdIf connected using SSH, before disconnecting from the server, validate the SSH server is working correctly by opening a new SSH connection.
有关 transactional-update 详细信息,请参见 https://documentation.suse.com/sle-micro/6.1/html/Micro-transactional-updates/。