Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

About supported key extension of SFTP server

Vicky
New Contributor II
New Contributor II

Hi, 

In case of create SFTP connetion, select PASSWORD/ SSH_KEY / PEM_KEY_FILE as AUTH_CREDENTIAL_TYPE.
And in case of .ppk File , following page says it is need to covert to .pem or .ssh.
"Converting a .ppk File to a .pem File / Converting a .ppk File to a .ssh File"
https://docs.saviyntcloud.com/bundle/SFTP-Certified-v24x/page/Content/Configuring-the-Integration-fo...

In case of .pvk, what should I do? 
I think it is need to convert to pem or .ssh as same as .ppk , is it right?

Regards,



 

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

Yes, you are correct. In case of a .pvk file, you will need to convert it to a .pem or .ssh format to use it for authentication in SFTP connections. The .pvk file format is typically used for private keys in Windows environments and needs to be converted to a format compatible with SSH.

Here's how you can convert a .pvk file to a .pem file using OpenSSL:

  1. Install OpenSSL: Ensure you have OpenSSL installed on your system. You can download it from the OpenSSL website or use a package manager.

  2. Convert .pvk to .pem:

    sh openssl rsa -inform PVK -in yourfile.pvk -outform PEM -out yourfile.pem

    Replace yourfile.pvk with the path to your .pvk file and yourfile.pem with the desired output file name.

If you need to convert the .pvk file to a format compatible with SSH directly:

  1. Convert .pvk to .pem (as shown above).
  2. Convert .pem to .ssh:
    sh ssh-keygen -f yourfile.pem -y > yourfile.ssh

Detailed Steps

  1. Convert .pvk to .pem:

    sh openssl rsa -inform PVK -in yourfile.pvk -outform PEM -out yourfile.pem
  2. Convert .pem to .ssh:

    sh ssh-keygen -f yourfile.pem -y > yourfile.ssh

Example

Suppose you have a file named key.pvk:

  1. Convert key.pvk to key.pem:

    sh openssl rsa -inform PVK -in key.pvk -outform PEM -out key.pem
  2. Convert key.pem to key.ssh:

    sh
    ssh-keygen -f key.pem -y > key.ssh

This way, you'll have the key in a format that can be used for SFTP connections.


Regards,
Rushikesh Vartak
If you find this response useful, kindly consider selecting 'Accept As Solution' and clicking on the 'Kudos' button.

Hi,
Thank you for detail.
Please this case.
Regards,