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

Re: New SFTP plugin available now

Post by *kfft » 2019-05-26, 10:19 UTC

The 1.8.2 is indeed more bug fixing, it could be worth checking that this time it does not break everything.
ED25519 was supposed to come soon this year but it seems the release is taking longer than expected.

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

Re: New SFTP plugin available now

Post by *ghisler(Author) » 2019-05-27, 13:23 UTC

there is an issue with the latest Windows 10 v. 1903 (May 2019 update) and the SFTP plugin v. 2.20.
Unfortunately I haven't got 1903 yet, and "Check for updates" reports no updates available. I will check it once I get the new version here.

Try using the plugin version using OpenSSL 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-28, 19:12 UTC

ghisler(Author) wrote:
2019-05-27, 13:23 UTC
there is an issue with the latest Windows 10 v. 1903 (May 2019 update) and the SFTP plugin v. 2.20.
Unfortunately I haven't got 1903 yet, and "Check for updates" reports no updates available. I will check it once I get the new version here.

Try using the plugin version using OpenSSL dlls.
You can download 1903 from this official link.
https://www.microsoft.com/en-us/software-download/windows10/

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

Re: New SFTP plugin available now

Post by *ghisler(Author) » 2019-05-30, 09:11 UTC

Thanks, I have installed it now via Media Creation tool, and I can confirm the bug.

Unfortunately it doesn't look good: The problem is a bug in the Windows function BCryptImportKeyPair:
It fails to import an RSA key where the public key exponent is as large as the modulus.
It works with a small 3 byte modulus 65537.

This function is used for the initial key exchange between client and server.
Unfortunately there is almost no chance to get this fixed, there is no way to contact anyone at Microsoft about it.
I will therefore try to find a solution via other functions, e.g. Microsoft Crypto API (although it is marked as deprecated by Microsoft).

So for now, please use the OpenSSL version of the plugin. Sorry for the inconvenience.
Author of Total Commander
http://www.ghisler.com

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

Re: New SFTP plugin available now

Post by *ghisler(Author) » 2019-06-03, 12:58 UTC

I found a solution: I'm now using the "libtommath" for the function which no longer works.

The updated plugin 2.30 is now available here:
https://www.ghisler.com/plugins.htm#filesys

Btw, the reason I'm still using libssh2 version 1.8.1 instead of 1.8.2 is that I added quite a few functions to support encrypted client certificates.
Author of Total Commander
http://www.ghisler.com

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3438
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: New SFTP plugin available now

Post by *Horst.Epp » 2019-06-03, 13:42 UTC

ghisler(Author) wrote:
2019-06-03, 12:58 UTC
I found a solution: I'm now using the "libtommath" for the function which no longer works.

The updated plugin 2.30 is now available here:
https://www.ghisler.com/plugins.htm#filesys

Btw, the reason I'm still using libssh2 version 1.8.1 instead of 1.8.2 is that I added quite a few functions to support encrypted client certificates.
Name/Ver. on this page still shows 2.20 but contains 2.30
Windows 10 Home x64 November 2019 Update, Version 1909 (OS Build 18363.476)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.50ß5 x64 / x86, Everything 1.4.1.956 (x64)

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

Re: New SFTP plugin available now

Post by *ghisler(Author) » 2019-06-04, 16:06 UTC

Fixed the page, thanks.

Has anyone tried the new plugin yet?
Author of Total Commander
http://www.ghisler.com

CoolWater
Power Member
Power Member
Posts: 674
Joined: 2003-03-27, 16:33 UTC

Re: New SFTP plugin available now

Post by *CoolWater » 2019-06-06, 14:10 UTC

Works for me! But I don't have installed the May 2019 Update yet.

HTH
CoolWater

OldNorton
Junior Member
Junior Member
Posts: 7
Joined: 2019-06-05, 14:09 UTC

Re: New SFTP plugin available now

Post by *OldNorton » 2019-06-06, 20:50 UTC

It works for me--with the May 2019 update installed--to access SSHelper on Android.

User avatar
sqa_wizard
Power Member
Power Member
Posts: 3502
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: New SFTP plugin available now

Post by *sqa_wizard » 2019-06-07, 21:24 UTC

In general V2.30 works for me too.
Servers using RedHat Linux are working fine.

I just get an error at an AIX server:
Right after entering the user name an error message appears which says:

Code: Select all

SFTP Error
Fehler: Authentifizierung via Methode 'keyboard-interaktiv' fehlgeschlagen!
Pressing [OK] will ask for the password and connects successfully.

I tried the same with V2.20 and there is no error at all.

Log says:
----- 8< -----
Loading SSH Library
========================
Verbinden mit: 192.168.0.1
IP address: 192.168.0.1:22
Server-Fingerabdruck:
...
Unterstützte Authentifizierungsmethoden: publickey,password,keyboard-interactive
Authentifizierung via Methode 'Tastatur-interaktiv' für Benutzer: xxx
libssh2_userauth_keyboard_interactive: PUBLICKEY_UNRECOGNIZED (18)
Fehler: Authentifizierung via Methode 'keyboard-interaktiv' fehlgeschlagen!
Authentifizierung via Kennwort für Benutzer: xxx
Sitzung startet... (SFTP)
CONNECT \MYSERVER
Verzeichnis einlesen: \
----- 8< -----
#5767 Personal license

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

Re: New SFTP plugin available now

Post by *ghisler(Author) » 2019-06-11, 14:46 UTC

Please try the new 2.40. It will ignore login erros with "keyboard interactive" and try "password authentication" instead. It will only show an error when both fail.

I prefer "keyboard interactive" over "password authentication" now when the server reports to support both, because only "keyboard interactive" allows two factor authentication like with Google authenticator (TOTP).
Author of Total Commander
http://www.ghisler.com

CoolWater
Power Member
Power Member
Posts: 674
Joined: 2003-03-27, 16:33 UTC

Re: New SFTP plugin available now

Post by *CoolWater » 2019-06-11, 14:57 UTC

ghisler(Author) wrote:
2019-06-04, 16:06 UTC
Fixed the page, thanks.

Has anyone tried the new plugin yet?
Still shows v2.20 here...

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

Re: New SFTP plugin available now

Post by *ghisler(Author) » 2019-06-11, 15:00 UTC

Where does it show v2.20? On the page:
https://www.ghisler.com/plugins.htm#filesys

I see this now:
SFTP
2.40
2019/06/06
Author of Total Commander
http://www.ghisler.com

CoolWater
Power Member
Power Member
Posts: 674
Joined: 2003-03-27, 16:33 UTC

Re: New SFTP plugin available now

Post by *CoolWater » 2019-06-11, 15:16 UTC

I mean the first page in this thread. Sorry for the confusion :)

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

Re: New SFTP plugin available now

Post by *ghisler(Author) » 2019-06-13, 19:27 UTC

Ah, I didn't check there, thanks.
Author of Total Commander
http://www.ghisler.com

Post Reply