Overview
This article guides you on how to create a Linux Certificate Authentication for GFI LanGuard.
Process
- On the Linux machine, run the command:
ssh-keygen t rsa
- When prompted, enter the filename for the new key pair to be generated.
Example:[Filename]
- Two files are now generated: [Filename] and [Filename].pub
- NOTE: When prompted for a passphrase, ensure that no passphrase is entered. It is important that this is left empty since GFI LanGuard does not support passphrase certificates.
- Add the content of
[Filename].pub
to theauthorized_keys
file located in the user's <home>/.ssh/ folder. If the file authorized_keys does not exist in the user's <home>/.ssh/ directory, create the file manually. - Copy the file
[Filename]
to the GFI LanGuard machine. This is the file to be used with the GFI LanGuard SSH module. The [Filename] file is the private key and must be protected. - For each Linux machine, you want GFI LanGuard to scan using Certificate Authentication by performing the following steps:
- Copy the file
[Filename].pub
to each Linux machine. - Repeat step 3 above.
- Copy the file
Priyanka Bhotika
Comments