Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Which SFTP plugins
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) Printable version
View previous topic :: View next topic  
Author Message
ggiunta
Junior Member
Junior Member


Joined: 09 May 2005
Posts: 36

PostPosted: Fri Feb 03, 2012 11:22 am    Post subject: Reply with quote

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...
Back to top
View user's profile Send private message
Sob
Power Member
Power Member


Joined: 19 Jan 2005
Posts: 748

PostPosted: Sat Feb 04, 2012 4:06 pm    Post subject: Reply with quote

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).
Back to top
View user's profile Send private message Send e-mail
arjan
Junior Member
Junior Member


Joined: 21 Feb 2012
Posts: 3

PostPosted: Tue Feb 21, 2012 9:56 am    Post subject: Same problem Reply with quote

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.
Back to top
View user's profile Send private message
Sob
Power Member
Power Member


Joined: 19 Jan 2005
Posts: 748

PostPosted: Tue Feb 21, 2012 12:49 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message Send e-mail
arjan
Junior Member
Junior Member


Joined: 21 Feb 2012
Posts: 3

PostPosted: Tue Feb 21, 2012 2:29 pm    Post subject: Reply with quote

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
---------------------------
Back to top
View user's profile Send private message
Sob
Power Member
Power Member


Joined: 19 Jan 2005
Posts: 748

PostPosted: Tue Feb 21, 2012 7:30 pm    Post subject: Reply with quote

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. ;)
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 28367
Location: Switzerland

PostPosted: Wed Feb 22, 2012 10:20 am    Post subject: Reply with quote

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
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
arjan
Junior Member
Junior Member


Joined: 21 Feb 2012
Posts: 3

PostPosted: Wed Feb 22, 2012 5:19 pm    Post subject: Reply with quote

Quote:
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!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> Total Commander (English) All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group