Non-Unix format for DSS SFTP

Client's question re SFTP connection:

'I would like some guidance how
to update the certificate from a non-Unix machine.'

I can see in the DSS FTP guide:

'Instructions for generating public keys are dependent on your client application but must be in UNIX format and contain one entry per line.'

Is there a way to do it with non-Unix format?

Thank you.

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @aleksandra.kluczniak

    The authorized_keys file requires a public key in UNIX format so you can't use non-UNIX format public key with the authorized_keys file.

    Therefore, a tool used to create a public key must be able to create a public key in UNIX format used by the authorized_keys file.

    For example, I have used a PuTTY Key Generator on Windows to generate a public and private key. After generating the keys, the PuTTY Key Generator has a text box containing a public key in UNIX format.

    image

    It contains one line public key for pasting into the authorized_keys file.