# sudo /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 Missing privilege separation directory: /run/sshd 解決: # sudo ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key # sudo ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key # sudo ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key