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]