I am trying to create a task using the terminal. So far I created a target successfully. When I am trying to create a task I do create an entity but it is a container instead a task.
I am using the following:
gvm-cli tls --gmp-username admin --gmp-password admin --xml "<create_task><name>3000</name> > <target target_id="714f2ad0-e345-4984-922d-54065f796ea2"></target><scanner id='08b69003-5fc2-4037-a479-93b440211c73'><name>OpenVAS Default</name><type>2</type></create_task>" --host 127.0.0.1
When the command is being executed I do not get a 200-ok but " Remote connection closed". I still get a container created but this is not what I want.
What could be the issue?