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

SSH daemon is running - Exception Found #1487

Open
maxdd opened this issue Apr 18, 2024 · 1 comment
Open

SSH daemon is running - Exception Found #1487

maxdd opened this issue Apr 18, 2024 · 1 comment
Assignees

Comments

@maxdd
Copy link

maxdd commented Apr 18, 2024

Hello, most likely related to the fact that i have set

sudo chmod 600 /etc/ssh/sshd_config

but when i run lynis as normal user i get

[+] SSH Support
------------------------------------
  - Checking running SSH daemon                               [ FOUND ]
    - Searching SSH configuration                             [ NOT FOUND ]

=================================================================

  Exception found!

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

  Help improving the Lynis community with your feedback!

  Steps:
  - Ensure you are running the latest version (./lynis update check)
  - If so, create a GitHub issue at https://github.com/CISOfy/lynis
  - Include relevant parts of the log file or configuration file

  Thanks!

=================================================================

Regards,

@mboelen
Copy link
Member

mboelen commented May 17, 2024

Thanks for reporting. For the details, please see the lynis.log file (lynis show details SSH-7404).

What does it show?

@mboelen mboelen self-assigned this May 17, 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