Creating users for local security checks without the OpenVAS LSC Credentials ManagerDebian Local Security ChecksPrerequisitesCreate users with the OpenVAS LSC Credentials Manager

Create users with the OpenVAS LSC Credentials Manager

Recent versions of OpenVAS allow you to create SSH keys with the OpenVAS LSC Credentials Manager (LSC is short for Local Security Checks). If you do not have a recent (>=2.0.2) version of OpenVAS-Client and openvas-server, skip this section. Otherwise, skip the next section.

Start the OpenVAS LSC Credentials Manager by clicking the appropiate button in the Preferences window. The screenshot shows an example of the OpenVAS Credentials Manager dialogs in use.

With the OpenVAS LSC Credentials Manager you define local logins for your targets. Click on "Create a new keypair" to start the process. You will be asked to enter all login- relevant information. Once confirmed, the OpenVAS LSC Credentials Manager will create public and private key files and store the login information for you.

This procedure equals calling

$ ssh-keygen -t rsa -f ~/.ssh/id_rsa_username -C
"OpenVAS-Local-Security-Checks-Key"
$ openssl pkcs8 -topk8 -v2 des3 -in ~/.ssh/id_rsa_username -out username_rsa.p8

. Thus for it not to fail, the system running the client needs both the 'ssh-keygen' and the 'openssl' tool. In the example "username" will be replaced with the username you provided and the paths might differ.


Creating users for local security checks without the OpenVAS LSC Credentials ManagerDebian Local Security ChecksPrerequisitesCreate users with the OpenVAS LSC Credentials Manager