lyd2004888 发表于 2018-5-30 06:59:49

docker问题笔记

  docker问题笔记



1:容器启动ssh报错
/usr/sbin/sshd &

Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Could not load host key: /etc/ssh/ssh_host_ed25519_key

解决方法
ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_rsa_key
ssh-keygen -t ecdsa -f/etc/ssh/ssh_host_ecdsa_key
ssh-keygen -t ecdsa -f   /etc/ssh/ssh_host_ed25519_key

--------------------------------------------------------------
页: [1]
查看完整版本: docker问题笔记