Which SFTP plugins

English support forum

Moderators: white, Hacker, petermad, Stefan2

ggiunta
Junior Member
Junior Member
Posts: 39
Joined: 2005-05-09, 16:40 UTC

Post by *ggiunta »

I have seen that the latest version of the sftp plugin claims to support pageant authentication, but in the readme.txt file it mentions creating a link to pageant.exe with a certificate file.

I am using different certificates that I load/unload from pageant based upon needs, to connect to different servers/networks, not a single one.

Is this configuration supported by the sftp plugin?

I have not configured the link to pageant, and when I define one sftp connection in totalcmd to "use putty", I get an error "Failure requesting identities from ssh-agent" when trying to connect...
Sob
Power Member
Power Member
Posts: 941
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

ggiunta wrote:I have seen that the latest version of the sftp plugin claims to support pageant authentication, but in the readme.txt file it mentions creating a link to pageant.exe with a certificate file.
It's optional. If you manage your Pageant manually, you don't need any link. I think it's mostly for users who use Pageant as workaround for missing direct support for keys in PuTTY format.
ggiunta wrote:I have not configured the link to pageant, and when I define one sftp connection in totalcmd to "use putty", I get an error "Failure requesting identities from ssh-agent" when trying to connect...
You most likely have wrong libssh2.dll. Get the one from cURL (Win64 - MinGW64 / devel or Win32 - Generic / libcurl).
arjan
Junior Member
Junior Member
Posts: 5
Joined: 2012-02-21, 13:44 UTC

Same problem

Post by *arjan »

I have the same problem. I have the two dlls from Win32 - Generic version 7.24.0.

When I use the keypair directly, or manual password, it works, but with "Use Putty agent" I get the "Failure requesting identities from ssh-agent" error.

Using TC 7.56a.
Sob
Power Member
Power Member
Posts: 941
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

I just tested it and it works fine here (TC 7.56a + SFTP plugin 1.2 + dlls from cURL 7.24.0 + Pageant).

So:
- TC - we have the same version
- dlls - we have the same version
- plugin - we can have different version, but even older ones worked fine (in case you don't have it, try http://ghisler.fileburst.com/beta/sftpplug12.zip)
- Pageant - did you test that it works correctly with PuTTY?
arjan
Junior Member
Junior Member
Posts: 5
Joined: 2012-02-21, 13:44 UTC

Post by *arjan »

Ah - I hadn't created a link pageant.lnk in the plugin directory - I thought it would work if I had pageant already loaded (I usually launch my keys with pageant from the desktop for use with Putty).

The first time I opened a connection with the pageant.lnk present I got the following error. I only got it once, all seems to work now, but maybe this is useful to report.

While I was typing in my passphrase for the key I saw some messages going on in the connection dialog ("... supported authentication methods..."). After hitting enter I got this:

---------------------------
Total Commander 7.56a
---------------------------
Exception in sftpplug.wfx:FsFindFirstW!
Access violation at address 6EA8F336. Read of address 00000333
Windows 7 SP1 6.1 (Build 7601)

Please report this error to the Author, with a description
of what you were doing when this error occurred!

Windows exception: C0000005
Stack trace:
6EA8F336
4282DE 428414 6436F3 643A86 444491 422CC0
444491 444491 422CC0 444F62 422CC0 444523
422CC0 547941 6463B4
Raw:
443011 4445E5 444523 422CC0 5475D7 443011
445231 44527F 42499C 4445E5 444F62 444F85
422CC0 422CC0 444491 422CC0 4452DB 42499C
4348C2 4445E5 444F62 444F85 422CC0 444523
422CC0 4282DE 428414 6596DA 4064FB 6C2B6A
6436F3 6C1D4A 681F67 444491 422CC0 4452DB
61F399 422CC0 444523 422CC0 67D3C2 5FD757
5FD77A 6C1D4A 6BE672 6C2174 6C2260 6BE8D7
6BE905 6BE911 6BE6DB 6BED74 68D462 41B45F
41B4BA 61F399 68692C 6C2260 5FD757 5FD77A

Press Ctrl+C to copy this report!
Continue execution?
---------------------------
Yes No
---------------------------
Sob
Power Member
Power Member
Posts: 941
Joined: 2005-01-19, 17:33 UTC

Post by *Sob »

arjan wrote:Ah - I hadn't created a link pageant.lnk in the plugin directory - I thought it would work if I had pageant already loaded ...
The link is optional, manually started Pageant is enough. It should work and does work here. If it doesn't work for you, then there's something wrong somewhere. I'm not sure what and where, unfortunately. ;)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Maybe you started Pageant from the desktop with normal user rights, and TC with full admin rights? Then the two will not "see" each other.
Author of Total Commander
https://www.ghisler.com
arjan
Junior Member
Junior Member
Posts: 5
Joined: 2012-02-21, 13:44 UTC

Post by *arjan »

Maybe you started Pageant from the desktop with normal user rights, and TC with full admin rights? Then the two will not "see" each other.
Yes, I tried again, and this was the problem. I was using TC with admin rights in order to be able to save an sftp connection. Pff, it takes some getting used to Windows 7...

Thanks!
Post Reply