Invalid Private Key File (SFTP)

  • 257Views
  • Last Post 19 November 2019
  • Topic Is Solved
0
votes
Ken Saunders posted this 19 November 2019

Is there any information on what exactly needs to be pasted into Skyvia when using the Public Key Authentication type?

In the SSH Private Key field it's not recognising anything I put in as a valid Private Key. I've generated the key through PuTTY Key Generator. The Private key file that has been generated looks as follows, and is saved as a .ppk

PuTTY-User-Key-File-2: ssh-rsa
Encryption: (encryption here)
Comment: 
Public-Lines: 6
(public key here)
Private-Lines: 14
(private key here)
Private-MAC: (mac address here)

I've attempted pasting in the entire thing, just the private key data, all sorts of variations but it doesn't accept it as a valid private key file.

It was generated in PuTTY Key Generator using RSA, generating 2048 bits.

It's probably very obvious, but I'm quite new to SSH and Private / Public key encryption, any assistance on this would be greatly appreciated!

Cheers!

1
votes
Dmitriy Muzurov posted this 19 November 2019

Hello Ken,

Thank you for submitting a ticket with us.

Skyvia uses OpenSSH format for the private keys when working with the SFTP connections.

Here are the steps that are necessary to perform in PuTTY Key Generator tool (https://www.putty.org/) to get correct format of private key file:

- open PuTTY Key Generator;

- open menu File -> Load private key and select your .ppk file;

- open menu Conversions -> Export OpenSSH key and save the file;

- use newly generated private key file in Skyvia connection.

We are looking forward to hearing from you, should you require any further assistance.

  • Supported by
  • Ken Saunders
Close