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

Re: New SFTP plugin available now

Post by *kfft »

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

Re: New SFTP plugin available now

Post by *ghisler(Author) »

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
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 »

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

Re: New SFTP plugin available now

Post by *ghisler(Author) »

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
https://www.ghisler.com
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 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
https://www.ghisler.com
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: New SFTP plugin available now

Post by *Horst.Epp »

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 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
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) »

Fixed the page, thanks.

Has anyone tried the new plugin yet?
Author of Total Commander
https://www.ghisler.com
CoolWater
Power Member
Power Member
Posts: 734
Joined: 2003-03-27, 16:33 UTC

Re: New SFTP plugin available now

Post by *CoolWater »

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 »

It works for me--with the May 2019 update installed--to access SSHelper on Android.
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3854
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Re: New SFTP plugin available now

Post by *sqa_wizard »

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

Re: New SFTP plugin available now

Post by *ghisler(Author) »

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
https://www.ghisler.com
CoolWater
Power Member
Power Member
Posts: 734
Joined: 2003-03-27, 16:33 UTC

Re: New SFTP plugin available now

Post by *CoolWater »

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

Re: New SFTP plugin available now

Post by *ghisler(Author) »

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
https://www.ghisler.com
CoolWater
Power Member
Power Member
Posts: 734
Joined: 2003-03-27, 16:33 UTC

Re: New SFTP plugin available now

Post by *CoolWater »

I mean the first page in this thread. Sorry for the confusion :)
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) »

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