通过外部终端直接登录docker镜像系统

[root@4dc9f70e77f3 /]# cat /etc/ssh/sshd_config | grep -E 'PermitRootLogin|PasswordAuthentication'
PermitRootLogin yes
#PasswordAuthentication yes
PasswordAuthentication yes
# PasswordAuthentication.  Depending on your PAM configuration,
# the setting of "PermitRootLogin without-password".
# PAM authentication, then enable this but set PasswordAuthentication
posted @ 2025-09-26 09:26  Li-zhienxuan  阅读(7)  评论(0)    收藏  举报