root ssh access denied in Wazuh 4.2

3,370 views
Skip to first unread message

Alaa Junaid

unread,
Aug 26, 2021, 4:57:01 PM8/26/21
to Wazuh mailing list
Hi All,

I downloaded the new release image of Wazuh "4.2" image @  https://documentation.wazuh.com/current/virtual-machine/virtual-machine.html

I successfully login by using user: root ; password: wazuh
Unfortunately, when I tried to login  via ssh with the same credential, the following error displayed:

root.PNG


Regards,

Alaa

Peter Santiago

unread,
Aug 27, 2021, 2:16:03 AM8/27/21
to Wazuh mailing list
you might need to create a regular user then sudo when logging in via ssh

Jose Antonio Muñoz Herrera

unread,
Aug 27, 2021, 2:44:05 AM8/27/21
to Wazuh mailing list
Hi alaa.dj, by default root login over ssh is disabled by default. If you want to allow root login over ssh got to /etc/ssh and edit the file sshd_config. Search for the line PermitRootLogin yes and erase the "#" at the beginning of the line. Then restart the ssh service. I hope you find this information useful!

Alaa Junaid

unread,
Aug 27, 2021, 2:26:52 PM8/27/21
to Wazuh mailing list
Thanks dear. It was helpful.

Regards,

Alaa

Reply all
Reply to author
Forward
0 new messages