Forum Discussion
sshd could not load host key
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
- Dario_Garrido
Noctilucent
Hello Nicol4s.
You just need to recreate your SSH RSA key.
ssh-keygen -t rsa -f /config/ssh/ssh_host_rsa_key systemctl restart sshdLet me know if it works in your case.
Regards,
Dario.
- Nicol4s
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 sshdNow the SSH daemon is able to start correctly when my VM boot or reboot.
Thank you for the tip.
Regards.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
