I've just started using the sftp plugin, and I apologise in advance if I'm missing something obvious.
I'm trying to get some images from a machine which runs an ssh service. I can connect to it using the sftp plugin and see the directories and files - but when I select one, the only two options I get are "Download+open" and "Download+edit". The file gets downloaded to a temporary directory, and deleted when I've finished using it.
You seem to be refering to the Android plugin - this thread is about the Windows plugin. But the same applies to both plugins: Do not try to open the file, it will be downloaded only temporarily. Instead, select it (or multiple files) and copy it to the other panel with the copy button (Total Commander is a 2 panel file manager).
You need to pass both the public key and private key to the SFTP plugin. The pem file has to contain the private key, and the pub the public key. The plugin then calls libssh2_userauth_publickey_fromfile.
There must be some kind of private key for ed25519 too, otherwise there would be no secret if there were only a public key.
-o
Causes ssh-keeygen to save private keys using the new OpenSSH format
rather than the more compatible PEM format. The new format has
increased resistance to brute-force password cracking but is not
supported by versions of OpenSSH prior to 6.5. Ed25519 keys always
use the new private key format.
But on supposedly sshj can handle Ed25519, see the github page of sshj README section supported-algorithms (sry I cannot post links).
ghisler(Author) wrote:A new plugin is now available:
SFTP (Secure FTP over SSH).
To download and install it, you need to tap on the green "+" sign (Add plugins) in the TC home folder. Direct link.
The plugin uses the sshj library because there is no OpenSSH on Android. I have modified the library a bit so it supports all Android versions since Android 1.5 (instead of >=2.3).
There are two versions of this plugin:
1. A smaller version which supports login via user name and password only. This version relies on built-in Android crypto functions. Use this if you can.
2. A large (1 MByte) version which also supports login with a client certificate. The certificate must be in PEM format (just like for the desktop version of TC), which may be password protected (recommended). If you enter a password AND specify a PEM file, TC will assume that the password is for decrypting the PEM.
Unfortunately user certificate authentication only works on Android 2.0 and later versions. The plugin is that large because it contains the entire BouncyCastle crypto library (with renamed classes to replace the incomplete Android library).
Please test it and send me feedback!
Currently this plugin is only available as a direct download. I will put the smaller version on Google Play once the beta test is over.
This is a quote of the first post of this thread. I read 7x the word Android in the opening post of this thread. So I assume that this is the Android version!? Or am I terribly wrong?