ssh docker container 发表评论 900 views Betteryuan Blog › 技术文章 › 工具类 › Docker › ssh docker container 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