Ubuntu'da sshd servisinizin durumunu kontrol ettiğinizde aşağıdaki hata olabilir.
error: key_load_private: invalid format
error: key_load_public: invalid format
error: Could not load host key: /etc/ssh/ssh_host_rsa_key
error: key_load_private: invalid format
error: key_load_public: invalid format
error: Could not load host key: /etc/ssh/ssh_host_ecdsa_key
error: key_load_private: invalid format
error: key_load_public: invalid format
error: Could not load host key: /etc/ssh/ssh_host_ed25519_key
fatal: No supported key exchange algorithms [preauth]
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key;
ssh-keygen -t ecdsa -f /etc/ssh/ssh_host_ecdsa_key;
ssh-keygen -t ed25519 -f /etc/ssh/ssh_host_ed25519_key;
reboot
Ubuntu
hakkında diğer konular