Topic "Agent forwarding in putty doesnt work when session opend via winscp"

Author Message
mstaab
[View user's profile]

Joined: 2017-03-31
Posts: 1
I am using
Windows7x64
Winscp 5.9.4
Putty 0.68
Pageant 0.68

I configured a host which can be successfully connected via SFTP.
winscp works like it should.

For this host I want putty (which I open via "open putty session" from winscp) to activate "agent forwarding".
So I adjusted the Putty default settings to use "agent forwaring".

when opening the session via putty (_not_ initiated via winscp), the default settings work for me and also the "agent forwarding" is active.
when doing the same in a putty session which was opened from winscp, it doesnt work.


I did some "debugging":
- loading the "WinSCP temporary session" from standalone putty, after I used it in winscp before shows me that the temporary session does not use "agent forwarding".

does this mean winscp does not take this setting from the putty defaults?
winscp_settings.jpg (21.83 KB)

Description: my winscp/putty integration settings

winscp_settings.jpg

Pathduck
[View user's profile]
Donor
Joined: 2012-05-29
Posts: 76
Location: Oslo
I have no problems using agent auth with Pageant from Putty launched with Ctrl+P from WinSCP.

However, it looks like there's more to your command line there - what is the full command? I notice a '!' at the end there?

Also it might be worth it to try to add -A to enable Agent forwarding although it's not really the same thing
https://the.earth.li/~sgtatham/putty/latest/htmldoc/Chapter3.html#using-cmdline-agent

Try to enable some debugging in Putty to see what goes on underneath.
martin◆
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26911
Location: Prague, Czechia
WinSCP has its own Agent forwarding setting, which overrides the PuTTY default:
https://winscp.net/eng/docs/ui_login_authentication
Advertisements

You can post new topics in this forum

Search

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License