Open SSH Key
The Appliance Scan Engine component currently only supports the RSA format for SSH Key authentication.
If a target requires SSH Key based access and is using the Open SSH format this key can be converted using the below steps.
The SSH Key format can be identified by the first line of the file:
1-----BEGIN OPENSSH PRIVATE KEY-----
Before converting the key, it is advisable to create a backup of the Open SSH Key as the conversion process will overwrite the file.
To convert the key run the following command.
1ssh-keygen -p -N "" -m pem -f ~/.ssh/<fileName>
Inspecting the file’s first line again the format change is visible.
1-----BEGIN RSA PRIVATE KEY-----
The file content can now be used in the creation of an SSH Key credential for Unix/Linux