New SFTP plugin available now

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

Moderators: sheep, Hacker, Stefan2, white

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

Re: New SFTP plugin available now

Post by *ghisler(Author) » 2019-01-28, 14:34 UTC

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
http://www.ghisler.com

User avatar
Dalai
Power Member
Power Member
Posts: 6705
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: New SFTP plugin available now

Post by *Dalai » 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
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

kfft
Junior Member
Junior Member
Posts: 20
Joined: 2010-12-26, 01:17 UTC

Re: New SFTP plugin available now

Post by *kfft » 2019-02-05, 20:19 UTC

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: 100
Joined: 2005-01-19, 20:26 UTC

Re: New SFTP plugin available now

Post by *Unused » 2019-02-06, 07:23 UTC

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: 37695
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New SFTP plugin available now

Post by *ghisler(Author) » 2019-02-07, 11:48 UTC

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
http://www.ghisler.com

kfft
Junior Member
Junior Member
Posts: 20
Joined: 2010-12-26, 01:17 UTC

Re: New SFTP plugin available now

Post by *kfft » 2019-02-07, 19:36 UTC

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: 37695
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New SFTP plugin available now

Post by *ghisler(Author) » 2019-02-11, 15:12 UTC

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
http://www.ghisler.com

kfft
Junior Member
Junior Member
Posts: 20
Joined: 2010-12-26, 01:17 UTC

Re: New SFTP plugin available now

Post by *kfft » 2019-02-11, 19:23 UTC

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

kfft
Junior Member
Junior Member
Posts: 20
Joined: 2010-12-26, 01:17 UTC

Re: New SFTP plugin available now

Post by *kfft » 2019-03-28, 22:06 UTC

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 » 2019-03-29, 11:13 UTC

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: 259
Joined: 2011-09-23, 10:35 UTC

Re: New SFTP plugin available now

Post by *krasusczak » 2019-05-18, 17:45 UTC

Hi any news about upgrade with 1.8.2?

Thanks!

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

Re: New SFTP plugin available now

Post by *ghisler(Author) » 2019-05-20, 14:29 UTC

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
http://www.ghisler.com

krasusczak
Senior Member
Senior Member
Posts: 259
Joined: 2011-09-23, 10:35 UTC

Re: New SFTP plugin available now

Post by *krasusczak » 2019-05-20, 19:24 UTC

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: 37695
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New SFTP plugin available now

Post by *ghisler(Author) » 2019-05-21, 06:47 UTC

I see - so there is no real advantage over the currently used dlls...
Author of Total Commander
http://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 » 2019-05-24, 06:39 UTC

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