Hello,
I am trying to configure an automatic File Sync to an external FTP-Server.
I Authenticate using a Private-Key. The connection works with FileZilla and WinSCP without any Problems.
Trying to connect to the same server with FreeFileSync using the "Connect to Onlinestorage" button and selecting SFTP, gives me this Error Message:
The final path "sftp://username@ServerURL" cannot be determined (loosely Translated from German)
LIBSSH2_ERROR_PROTO: Error parsing PEM: offset out of bounds
[libssh2_userauth_publickey_frommemory]
Does anyone have an Idea whats wrong? That Error Message sadly doesn't help me at all.
Thanks in advance.
Onlinestorage Connection Error
- Posts: 4
- Joined: 12 Dec 2022
- Posts: 4
- Joined: 12 Dec 2022
I had to convert the Private Key to a OpenSSH Key using PuTTYgen.
After that it worked fine.
After that it worked fine.
- Site Admin
- Posts: 7211
- Joined: 9 Dec 2007
How did you generate the private key that it's neither in OpenSSH, nor Putty ppk format? I'm assuming it's in "raw" format, DER-encoded PKCS#1.
- Posts: 4
- Joined: 12 Dec 2022
I had a Putty (ppk) Private Key. And that worked with Filezilla and WinSCP, but not with FFS.
I converted that key into OpenSSH format and it also worked with FFS.
I converted that key into OpenSSH format and it also worked with FFS.
- Site Admin
- Posts: 7211
- Joined: 9 Dec 2007
Looks like Putty has a new ppk format (version 3). FreeFileSync currently only understands version 2.
- Site Admin
- Posts: 7211
- Joined: 9 Dec 2007
Fixed:
https://www.mediafire.com/file/b7jeytlohyjwx2s/FreeFileSync_11.30_%255BBeta%255D_Windows_Setup.exeFreeFileSync 11.30
------------------
Support PuTTY private key file format version 3