New SFTP plugin available now

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

Moderators: Hacker, petermad, Stefan2, white

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

Re: New SFTP plugin available now

Post by *ghisler(Author) »

Pageant and Total Commander need to run with the same user rights. For example, if you want to run Total Commander with higher rights (right click - As Administrator), you also need to run Pageant with higher rights, otherwise the two will not be able to communicate with each other.
Author of Total Commander
https://www.ghisler.com
kirillkolov
Junior Member
Junior Member
Posts: 2
Joined: 2024-07-04, 06:24 UTC

Re: New SFTP plugin available now

Post by *kirillkolov »

hi.
I have another question. Why for connecting I need to give total commander public and private key? openSSH for example, works with out private key.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New SFTP plugin available now

Post by *ghisler(Author) »

I don't see how it would work with the private key. The server only has th public key of your account, and you have the private key. To log in the client signs a message generated by the server with the private key of the user, and the server verifies it with the public key. It _should_ work without the public key, but strangely the libssh2 dll requires both public and private keys.
Author of Total Commander
https://www.ghisler.com
JOUBE
Power Member
Power Member
Posts: 1664
Joined: 2004-07-08, 08:58 UTC

Re: New SFTP plugin available now

Post by *JOUBE »

ghisler(Author) wrote: 2024-10-01, 10:44 UTC ... but strangely the libssh2 dll requires both public and private keys.
Is that really true? Isn't that just a leftover in the Tc-Stftp plugin from the old putty and curl-...-mingw32 times? It seems strange to me too... and should be checked and then removed.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New SFTP plugin available now

Post by *ghisler(Author) »

It's possible that the function to set they keys requests both so both encryption and signing are possible.
Author of Total Commander
https://www.ghisler.com
User avatar
Flint
Power Member
Power Member
Posts: 3501
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Re: New SFTP plugin available now

Post by *Flint »

Technically, the public key can be generated from the private key. So even if we only have the private one, the plugin could create the public key all by itself and then pass it to libssh2.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
JOUBE
Power Member
Power Member
Posts: 1664
Joined: 2004-07-08, 08:58 UTC

Re: New SFTP plugin available now

Post by *JOUBE »

ghisler(Author) wrote: 2024-10-02, 10:50 UTC It's possible...
I do not understand this. What do you mean with it? Surely you can turn that off, right? Because it is uncommon.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New SFTP plugin available now

Post by *ghisler(Author) »

I remember that it didn't with just the private key.
Author of Total Commander
https://www.ghisler.com
Alexx2000
Junior Member
Junior Member
Posts: 5
Joined: 2020-08-23, 14:15 UTC

Re: New SFTP plugin available now

Post by *Alexx2000 »

It depends on the libssh2 backend. Only OpenSSL backend can work without public key (it get it from private key). Other backends does not implement this capability.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New SFTP plugin available now

Post by *ghisler(Author) »

I'm using the wincng backend (Windows Crypto API). The version for Windows XP (sftpplugxp) uses the OpenSSL backend.
Author of Total Commander
https://www.ghisler.com
Digika
Junior Member
Junior Member
Posts: 42
Joined: 2019-05-26, 14:46 UTC

[FR] SFTP - stats for zlib compression

Post by *Digika »

Can we have some transfer stats that show compressed data details when using zlib connection mode for sFTP?
User avatar
white
Power Member
Power Member
Posts: 5743
Joined: 2003-11-19, 08:16 UTC
Location: Netherlands

Re: New SFTP plugin available now

Post by *white »

Moderator message from: white » 2024-11-02, 10:03 UTC

Merged the following thread with this topic:
» [FR] SFTP - stats for zlib compression
larry99
Junior Member
Junior Member
Posts: 62
Joined: 2009-01-16, 16:03 UTC
Location: Germany

Re: New SFTP plugin available now

Post by *larry99 »

Support for ProxyJump/Jumphost?

I have lots of servers I cannot access directly but only through a proxy. For some of them I have set up socks proxies and this works fine with the sftp plugin.
But for my workflow it would be very helfful if I also could use the ProxyJump feature of ssh. Recent versions of PuTTY have it as the new "ssh" proxy type and it is really helpful there for terminal sessions. Of course I could use the PuTTY-SFTP command line tool but since I do all of my file management with TC, this is not an attractive alternative.

Wouldn't it be nice to have the same support within the SFTP plugin? Before I wrote this post I searched the forum and found that a similar request was made for the Android version and if I understood it right, there it is implemented now.

So my feature request is to also add it to the PC version of the SFTP plugin.
Any chance?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50383
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: New SFTP plugin available now

Post by *ghisler(Author) »

This has been requested before. Unfortunately the used library libssh2 doesn't support proxy jump.
Author of Total Commander
https://www.ghisler.com
tapk
New Member
New Member
Posts: 1
Joined: 2024-12-27, 06:24 UTC

Re: New SFTP plugin available now

Post by *tapk »

I ran into a weird bug. I generated several ECDSA nistp256 keys with PuTTYgen and it seems that SFTP plugin works only with half of them and shows error for other half. For example, i attached archive with two ECDSA nistp256 keys: 1 and 2. Both keys work with SSH connections with PuTTY, both keys work with Total Commander on Android and SFTP plugin for Android. If you try to connect with key 1 with Total Commander for desktop (11.03) and SFTP plugin for desktop (3.05), it also works. But if you try key 2 in same conditions, SFTP plugin shows message "Error: Authentication by client certificate failed!" and doesn't connect. Those keys was generated subsequently in the same PuTTYgen 0.82.

Archive: https://summer-host-storage.yoursunny.dev/266c/1a54/keys.zip

UPD: re-uploaded keys
Last edited by tapk on 2025-01-09, 00:39 UTC, edited 3 times in total.
Post Reply