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:
-----BEGIN OPENSSH PRIVATE KEY-----
NOTE: Before converting the key, take a backup of the Open SSH Key as the conversion process will overwrite the file.
To convert the key run the following command.
ssh-keygen -p -N "" -m pem -f ~/.ssh/<fileName>
Inspecting the file’s first line again the format change is visible.
-----BEGIN RSA PRIVATE KEY-----
The file content can now be used in the creation of an SSH Key credential for Unix/Linux