ssh docker container 发表评论 856 views 1. 安装openssh-server yum install openssh-server 2. 修改/etc/ssh/sshd_config Port 22 PasswordAuthentication yes PermitRootLogin yes 3. passwd root 4. docker restart [container-id] 5. systemctl restart sshd Read more