Turner,

I don't know that we can have a omp.config file. Where should I put this file ? 
into /etc/openvas/ directory ?
Did you have a link with more information about the configuration of this file ?

Gerhard,

> On Jun 8, 2017, at 8:33 AM, Turner,Jonas <[email protected]> wrote:
> 
> I am not sure if this will help but this is what I do and it works for me.  
> You can change the port of course.
>  
> 1.       Configure omp.config with credentials
> a.       [Connection]
> b.      host=127.0.0.1
> c.       port=9390
> d.      username=someuser
> e.      password=somepassword
> 2.       openvasmd -a 127.0.0.1 -p 9390
> 3.       omp -g -v
>  
> This provided me with the following output:
> <someuser@someserver:~$> omp -g -v
>  
> WARNING: Verbose mode may reveal passwords!
>  
> Will try to connect to host 127.0.0.1, port 9390...
> 8715c877-47a0-438d-98a3-27c7a6ab2196  Discovery
> 085569ce-73ed-11df-83c3-002264764cea  empty
> daba56c8-73ec-11df-a475-002264764cea  Full and fast
> 698f691e-7489-11df-9d8c-002264764cea  Full and fast ultimate
> 708f25c4-7489-11df-8094-002264764cea  Full and very deep
> 74db13d6-7489-11df-91b9-002264764cea  Full and very deep ultimate
> f14981cc-80d9-4bec-8cca-ff3aa25c57be  HCR - Full and Fast
> 2d3f051c-55ba-11e3-bf43-406186ea4fc5  Host Discovery
> bbca7412-a950-11e3-9109-406186ea4fc5  System Discovery
> Command completed successfully.
>  
> From: Openvas-discuss [mailto:[email protected]] On 
> Behalf Of Gerhard Mourani
> Sent: Thursday, June 08, 2017 8:19 AM
> To: [email protected]
> Subject: [Openvas-discuss] omg can't connect to openvas
>  
> Hello,
>  
> I'm trying to use omp command to connect to openvas but it doesn't work and 
> never finish. Here my command.
>  
> omp -u admin -w admin -p 9392 -g -v
> WARNING: Verbose mode may reveal passwords!
> Will try to connect to host 127.0.0.1, port 9392...
>  
> openvas-manager-7.0.1
> openvas-gsa-7.0.2
> openvas-scanner-5.1.1
> openvas-libraries-9.0.1
> openvas-cli-1.4.5
> 
> gsad is running on port 9392 as follow:
> 
> tcp        0      0 :::9392                     :::*                        
> LISTEN      25854/gsad 
> 
> Gerhard,
> 
>   ­­  

_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to