New SFTP plugin available now

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: white, Hacker, petermad, Stefan2

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

Re: New SFTP plugin available now

Post by *ghisler(Author) »

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.
Author of Total Commander
https://www.ghisler.com
User avatar
Dalai
Power Member
Power Member
Posts: 9364
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: New SFTP plugin available now

Post by *Dalai »

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
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
kfft
Junior Member
Junior Member
Posts: 21
Joined: 2010-12-26, 01:17 UTC

Re: New SFTP plugin available now

Post by *kfft »

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.
User avatar
Unused
Member
Member
Posts: 122
Joined: 2005-01-19, 20:26 UTC

Re: New SFTP plugin available now

Post by *Unused »

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
Many thx for that tip.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New SFTP plugin available now

Post by *ghisler(Author) »

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!
Author of Total Commander
https://www.ghisler.com
User avatar
kfft
Junior Member
Junior Member
Posts: 21
Joined: 2010-12-26, 01:17 UTC

Re: New SFTP plugin available now

Post by *kfft »

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.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New SFTP plugin available now

Post by *ghisler(Author) »

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
User avatar
kfft
Junior Member
Junior Member
Posts: 21
Joined: 2010-12-26, 01:17 UTC

Re: New SFTP plugin available now

Post by *kfft »

Sorry that was a bad idea then :oops: 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. :P
User avatar
kfft
Junior Member
Junior Member
Posts: 21
Joined: 2010-12-26, 01:17 UTC

Re: New SFTP plugin available now

Post by *kfft »

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.
enjaxx
New Member
New Member
Posts: 1
Joined: 2019-03-29, 10:48 UTC

Re: New SFTP plugin available now

Post by *enjaxx »

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. :-)
krasusczak
Senior Member
Senior Member
Posts: 282
Joined: 2011-09-23, 10:35 UTC

Re: New SFTP plugin available now

Post by *krasusczak »

Hi any news about upgrade with 1.8.2?

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

Re: New SFTP plugin available now

Post by *ghisler(Author) »

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
krasusczak
Senior Member
Senior Member
Posts: 282
Joined: 2011-09-23, 10:35 UTC

Re: New SFTP plugin available now

Post by *krasusczak »

Someone put info that this is more fix for 1.8.1 & ED25519 it's not enabled, so just for update purpose
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New SFTP plugin available now

Post by *ghisler(Author) »

I see - so there is no real advantage over the currently used dlls...
Author of Total Commander
https://www.ghisler.com
hyperspaced
Junior Member
Junior Member
Posts: 2
Joined: 2019-05-24, 06:29 UTC

Re: New SFTP plugin available now

Post by *hyperspaced »

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
Post Reply