New SFTP plugin available now
Moderators: Hacker, petermad, Stefan2, white
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: New SFTP plugin available now
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
https://www.ghisler.com
-
- Junior Member
- Posts: 2
- Joined: 2024-07-04, 06:24 UTC
Re: New SFTP plugin available now
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.
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.
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: New SFTP plugin available now
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
https://www.ghisler.com
Re: New SFTP plugin available now
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.ghisler(Author) wrote: 2024-10-01, 10:44 UTC ... but strangely the libssh2 dll requires both public and private keys.
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: New SFTP plugin available now
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
https://www.ghisler.com
Re: New SFTP plugin available now
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
Using TC 11.03 / Win10 x64
Re: New SFTP plugin available now
I do not understand this. What do you mean with it? Surely you can turn that off, right? Because it is uncommon.
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: New SFTP plugin available now
I remember that it didn't with just the private key.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: New SFTP plugin available now
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.
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: New SFTP plugin available now
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
https://www.ghisler.com
[FR] SFTP - stats for zlib compression
Can we have some transfer stats that show compressed data details when using zlib connection mode for sFTP?
Re: New SFTP plugin available now
Moderator message from: white » 2024-11-02, 10:03 UTC
Merged the following thread with this topic:
» [FR] SFTP - stats for zlib compression
» [FR] SFTP - stats for zlib compression
Re: New SFTP plugin available now
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?
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?
- ghisler(Author)
- Site Admin
- Posts: 50383
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: New SFTP plugin available now
This has been requested before. Unfortunately the used library libssh2 doesn't support proxy jump.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Re: New SFTP plugin available now
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
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.