If you receive the following error when you are trying to import SSH-KEYGEN host key pairs into Cornerstone/Titan Server:

'Unable to import host key due to invalid format or bad password. Make sure the SSH key is OpenSSH format (Error 1610)',
there are two options to fix this issue. This problem most commonly occurs when you are using Linux.

Option #1, Performed on the client:

  1. Download Puttygen, available for download at http://www.putty.nl/download.html
  2. Run Puttygen. Select Conversions>Import Key.
  3. Select the Private Key and click Open.
  4. Enter the password for the Public Key and click Save Public Key.
  5. Send the public key file to the Server Administrator to import into Cornerstone Server.
Option #2, Performed on the client: 

If you have created a OpenSSH key pair with the ssh-keygen command, you can use the following command to create a usable public key:

ssh-keygen -e -f > 

for example:

ssh-keygen -e -f $HOME/.ssh/id_dsa > $HOME/.ssh/SSH_dsa.pub

This command will read the private key and generate a public key that can be used by Cornerstone/Titan Server.