How to start a basic scan using gvm-cli?

Hello, this is my first time using the gvm-cli to initiate a scan. (I am more familiar with the web interface)

I have been getting a permission denied error whenever I run the most basic of commands such as "
gvm-cli socket --xml “<get_version/>”. I don’t know where I am going wrong.

I would be grateful if someone can point me in the right direction.

Are you are running it as the same user that is running gvmd.


sudo -u gvm gvm-cli socket --xml “<get_version/>”

Thank you so much. Managed to get it sorted :smiley: