New plugin available: SFTP

Support for Android version of Total Commander

Moderators: white, Hacker, petermad, Stefan2

User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

OK, so it's about the Android version. Apparently the keys are using the method aes256-ctr for encrypting the key, which isn't supported by the plugin. Try encrypting the private key with a different method lile aes256-cbc.
Author of Total Commander
https://www.ghisler.com
bvsmdjktgc
Junior Member
Junior Member
Posts: 6
Joined: 2016-12-18, 14:56 UTC

Post by *bvsmdjktgc »

Perfect with aes256-cbc it works!
Thanks!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Great! I will check why aes256-ctr isn't supported.
Author of Total Commander
https://www.ghisler.com
User avatar
gewone
Junior Member
Junior Member
Posts: 66
Joined: 2008-03-06, 17:37 UTC

Re:

Post by *gewone »

ghisler(Author) wrote: 2016-12-19, 10:41 UTC You need to pass both the public key and private key to the SFTP plugin.
Oh, I've always wondered, why does the SFTP plugin need both keys (.PEM and .PUB) ? With regular SSH, as long as the public key is in the ~/.ssh/authorized_keys file, I only need to supply the private file. Isn't it the "engine" for SFTP as for regular SSH? I'm probably missing some important piece of the puzzle.

Just thought I'd ask.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New plugin available: SFTP

Post by *ghisler(Author) »

Yes, normally the private key should be sufficient, but the library I use seems to need both.
Author of Total Commander
https://www.ghisler.com
Post Reply