SSHd failed to start – “sshdCould not load host key”

7 Jul

SSHd failed to start – “ssh-3.2# /etc/init.d/ssh restart
Could not load host key: /etc/ssh/ssh_host_rsa_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
Restarting OpenBSD Secure Shell server: sshdCould not load host key: /etc/ssh/ssh_host_rs
a_key
Could not load host key: /etc/ssh/ssh_host_dsa_key
.”

dari sekian banyak solusi yang telah saya coba dengan metode searching d google. akhirnya ada cara yang terbaik untuk memecahkan kasus ini.
ketik saja command dibawah ini :


ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key

Tinggalkan Balasan

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Ubah )

Twitter picture

You are commenting using your Twitter account. Log Out / Ubah )

Facebook photo

You are commenting using your Facebook account. Log Out / Ubah )

Connecting to %s

Ikuti

Get every new post delivered to your Inbox.