New SFTP plugin available now
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50400
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: New SFTP plugin available now
Which version of libssh2? I'm using the latest release 1.8.0 from October 25th 2016 available here:
https://www.libssh2.org/
I'm not aware of any newer release.
https://www.libssh2.org/
I'm not aware of any newer release.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: New SFTP plugin available now
2Unused
Alt+Enter on a file should work. Although this doesn't work properly with user/group names with spaces in it (like "Domain Users").
Regards
Dalai
Alt+Enter on a file should work. Although this doesn't work properly with user/group names with spaces in it (like "Domain Users").
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: New SFTP plugin available now
ed25519 support was added in 2018, https://github.com/libssh2/libssh2/pull/248 and is available in 1.8.1 here https://www.libssh2.org/snapshots/. We are waiting for 1.9.0 but as mentioned https://github.com/libssh2/libssh2/issues/277 this is still in preparation.
I understand you may not want to issue a release based on a dev version but I would be ready to test a beta of the plugin using the new libssh2 1.8.1 developments. As you can see in the NEWS file quite a few fixes have been implemented.
We can wait for 1.9.0 but as we know, even if "almost ready", we never know when it will happen. What it seems it that it should not be too far from 1.8.1.
I understand you may not want to issue a release based on a dev version but I would be ready to test a beta of the plugin using the new libssh2 1.8.1 developments. As you can see in the NEWS file quite a few fixes have been implemented.
We can wait for 1.9.0 but as we know, even if "almost ready", we never know when it will happen. What it seems it that it should not be too far from 1.8.1.
Re: New SFTP plugin available now
Many thx for that tip.Dalai wrote: 2019-01-28, 14:44 UTC 2Unused
Alt+Enter on a file should work. Although this doesn't work properly with user/group names with spaces in it (like "Domain Users").
Regards
Dalai
- ghisler(Author)
- Site Admin
- Posts: 50400
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: New SFTP plugin available now
Here are the compiled dlls for 1.8.1:
https://www.totalcommander.ch/win/libssh2.zip
I haven't tried them with ed25519 yet, just with regular username+password login. Please try it!
https://www.totalcommander.ch/win/libssh2.zip
I haven't tried them with ed25519 yet, just with regular username+password login. Please try it!
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: New SFTP plugin available now
Thanks for the new dll I have immediately tested: unfortunately it does not work for me, with a RSA server key the total commander window disappears (crashes) during the connection, with a server ed25519 key it returns an error message. This is just a quick check I can provide more detailed results if needed.
- ghisler(Author)
- Site Admin
- Posts: 50400
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: New SFTP plugin available now
I didn't try the dlls with public key authentication myself. I have tried it now, and indeed it doesn't work. I don't know why it crashes, but when I look at wincng.h, I can see that LIBSSH2_ED25519 is set to 0 (do not include). And when I try to set it to 1, it fails in crypto.h because libssh2_ed25519_ctx isn't defined. So apparently ED25519 support has not been added in version 1.8.1. of the dlls. Furthermore, RSA and DSA are now broken too. That's exactly why I don't want to use in progress source code. Sorry, I don't have any solution for you.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: New SFTP plugin available now
Sorry that was a bad idea then
but thanks very much for your tests, that is absolutely fine we will wait for version 1.9 which is supposed to come soon this year. 


Re: New SFTP plugin available now
1.8.2 has been officially released, it would be nice to update the dlls with this new libssh2 release. It seems it is more a bugfix version and it does not have ED25519 enabled yet.
Re: New SFTP plugin available now
Hello,
I don't know, if I'm right here, but I'd like to know, if a feature exists, or, if not, to suggest one.
I have a couple of custom buttons in the button bar of TC, one of them is a WinMerge call with %X %P%N %T%M as parameters. This button works perfect on the normal file system, but fails on the "virtual" SFTP one. Of course, the remote file does not exist on the local side, it has to be downloaded before it can be used by WinMerge. If I just press F4 to edit the remote file, TC does the download, even if the editor is not the internal one.
Have I done something wrong, or doesn't the plugin support such a scenario?
Thank you for the amazing work, using TC since years and it's the first software I install on every new pc.
I don't know, if I'm right here, but I'd like to know, if a feature exists, or, if not, to suggest one.

I have a couple of custom buttons in the button bar of TC, one of them is a WinMerge call with %X %P%N %T%M as parameters. This button works perfect on the normal file system, but fails on the "virtual" SFTP one. Of course, the remote file does not exist on the local side, it has to be downloaded before it can be used by WinMerge. If I just press F4 to edit the remote file, TC does the download, even if the editor is not the internal one.
Have I done something wrong, or doesn't the plugin support such a scenario?
Thank you for the amazing work, using TC since years and it's the first software I install on every new pc.

-
- Senior Member
- Posts: 284
- Joined: 2011-09-23, 10:35 UTC
Re: New SFTP plugin available now
Hi any news about upgrade with 1.8.2?
Thanks!
Thanks!
- ghisler(Author)
- Site Admin
- Posts: 50400
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: New SFTP plugin available now
Sorry, I haven't had the time to try 1.8.2 yet. Are you sure that it supports ED25519 now? 1.8.1 didn't work, and it broke other crypto methods too...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Senior Member
- Posts: 284
- Joined: 2011-09-23, 10:35 UTC
Re: New SFTP plugin available now
Someone put info that this is more fix for 1.8.1 & ED25519 it's not enabled, so just for update purpose
- ghisler(Author)
- Site Admin
- Posts: 50400
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: New SFTP plugin available now
I see - so there is no real advantage over the currently used dlls...
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
-
- Junior Member
- Posts: 2
- Joined: 2019-05-24, 06:29 UTC
Re: New SFTP plugin available now
Hello,
there is an issue with the latest Windows 10 v. 1903 (May 2019 update) and the SFTP plugin v. 2.20.
It appears that something has changed to the Windows crypto dll's breaking compatibility with the plugin.
I used the XP version of it with the latest OpenSSH dlls and everything works fine, except the 2GB file limit.
If you need any debug data, pls let me know.
--Theodore
there is an issue with the latest Windows 10 v. 1903 (May 2019 update) and the SFTP plugin v. 2.20.
It appears that something has changed to the Windows crypto dll's breaking compatibility with the plugin.
I used the XP version of it with the latest OpenSSH dlls and everything works fine, except the 2GB file limit.
If you need any debug data, pls let me know.
--Theodore