Skip to content

Wazuh docker agentless error: no ssh #1623

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

Closed
Nighteye841228 opened this issue Nov 20, 2024 · 2 comments
Closed

Wazuh docker agentless error: no ssh #1623

Nighteye841228 opened this issue Nov 20, 2024 · 2 comments
Assignees

Comments

@Nighteye841228
Copy link

I have install wazuh from docker and I wanna use agentless monitoring. After adding agentless config in ossec.conf, I found message in /var/ossec/logs/ossec.log :

2024/11/20 09:41:00 wazuh-agentlessd: INFO: Test passed for 'ssh_integrity_check_linux'.
2024/11/20 09:42:02 wazuh-agentlessd: ERROR: ssh_integrity_check_linux: <client_ip>: Opening connection: couldn't execute "ssh": no such file or directory.

should I manually install ssh in docker container?

@vcerenu vcerenu self-assigned this Jan 10, 2025
@vcerenu
Copy link
Member

vcerenu commented Jan 15, 2025

Our Wazuh manager image tries to have the least amount of dependencies to have less vulnerability points in our deployment with the basic services, but you can edit our Dockerfile to add the dependencies you need.

We have in our documentation an explanation of how to generate your own Wazuh images locally:
https://documentation.wazuh.com/current/deployment-options/docker/wazuh-container.html#build-docker-images-locally

Inside the repository you will find the Wazuh manager Dockerfile in the path build-docker-images/wazuh-manager/Dockerfile, if you edit this file and add the dependency you need before running the image creation script, you can get your custom Wazuh manager image with all the dependencies you need.

@teddytpc1
Copy link
Member

This issue will be closed due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants