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: 36782
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: 6396
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: 17
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: 36782
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: 17
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: 36782
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: 17
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

Post Reply