02-Sep-2021 07:52
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.
03-Sep-2021
01:37
- last edited on
04-Jun-2023
19:18
by
JimmyPackets
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.
03-Sep-2021
05:37
- last edited on
04-Jun-2023
19:18
by
JimmyPackets
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.