Trying to troubleshoot this issue:
and part of one solution is to use:
$(which sshd)
which in my case outputs:
Could not load host key: /etc/ssh_host_rsa_key
Could not load host key: /etc/ssh_host_dsa_key
I keep a cheat sheet for all my bash commands and wanted to add in:
$()
It appears to be doing something to the sshd executable.
Related
What does it mean in shell when we put a command inside dollar sign and parentheses: $(command)