cancel
Showing results for 
Search instead for 
Did you mean: 

sshd could not load host key

Nicol4s
Nimbostratus
Nimbostratus

Hello,

 

I'm running a fresh install of BIG IP VE using TMOS 14.1.4.3

 

The sshd daemon is not able to start because of the following message :

 

Could not load host key: /config/ssh/ssh_host_rsa_key

 

When connected using the bash terminal, I can see the content of the key just fine.

 

I have tried to relabel the filesystem in order to fix the SeLINUX permissions but still no dice.

 

Procedure that was applied : https://support.f5.com/csp/article/K74412100

 

thank you.

2 REPLIES 2

Hello Nicol4s.

 

You just need to recreate your SSH RSA key.

ssh-keygen -t rsa -f /config/ssh/ssh_host_rsa_key systemctl restart sshd

Let me know if it works in your case.

 

Regards,

Dario.

Regards,
Dario.

Nicol4s
Nimbostratus
Nimbostratus

Hello Dario,

 

I did something very similar to your solution :

 

KB Reference used : https://support.f5.com/csp/article/K66144802

 

bigstart stop sshd   restorecon -rF /config/ssh/ssh_host_*   bigstart restart sshd   journalctl -u sshd

Now the SSH daemon is able to start correctly when my VM boot or reboot.

 

Thank you for the tip.

 

Regards.