Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception found! Function/test: [SSH-7404:1] #1446

Closed
roelandjansen opened this issue Nov 6, 2023 · 2 comments
Closed

Exception found! Function/test: [SSH-7404:1] #1446

roelandjansen opened this issue Nov 6, 2023 · 2 comments
Assignees

Comments

@roelandjansen
Copy link
Contributor

  • Tumbleweed any current version. and lynis v3.0.9

exception:

Function/test: [SSH-7404:1]
Message: SSH daemon is running, but no readable configuration file found

Now, the searched config file is not in /etc/ssh anymore but here:

/usr/etc/ssh/sshd_config

and symlinking /etc/ssh/sshd_config.d/sshd_config -> /usr/etc/ssh/sshd_config

fixed it for now.

@mboelen
Copy link
Member

mboelen commented May 16, 2024

Thanks for reporting.

Looks like an additional path might need to be added to SSH_DAEMON_CONFIG_LOCS variable in include/tests_ssh

Can you test (if you remove the symlink) that if you add the /usr/etc/ssh directory to this variable, that it then works? If so, a pull request would be very welcome.

@mboelen
Copy link
Member

mboelen commented May 20, 2024

Closing after PR made by @roelandjansen

@mboelen mboelen closed this as completed May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants