docker运行宝塔面板报错:
Could not load host key: /etc/ssh/ssh_host_dsa_key
Could not load host key: /etc/ssh/ssh_host_ecdsa_key
Could not load host key: /etc/ssh/ssh_host_ed25519_key
生成dsa_key
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
生成ecdsa_key
ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key
生成ed25519_key
ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key
完工。
评论区