Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

No you cannot use agent forwarding without the agent.

What happens if you specify the key both for tunnel/proxy authentication and the actual session? Can you post a log file?
manuelk

I want to call a sftp server via winscp from a windows service process.
Between me and the sftp server, there is a ssh proxy.
I have to use agent forwarding in order to authenticate.
I can enable agent forwarding in winscp, but it seems it requires pageant.
I cannot use pageant from a windows service(It's just not possible because of security reasons).

Question:
Is it possible to use winscp with agent forwarding and without pageant?
martin

Re: Use WinSCP with agent forwarding, but without pageant

Are you tunneling a session, or what?
Guest

Re: Use WinSCP with agent forwarding, but without pageant

martin wrote:


Agent forwarding without the agent? That does not make any sense. What do you want to do actually?

I need to run this as windows service, and there seems to be no way to access pageant via windows service.
martin

Re: Use WinSCP with agent forwarding, but without pageant

ManuelK wrote:

Is it possible to use agent forwarding without using pageant? If yes, how?

Agent forwarding without the agent? That does not make any sense. What do you want to do actually?
ManuelK

Use WinSCP with agent forwarding, but without pageant

Hi,

I have a fairly strange question.
I am in an environment where they use a certificate for authentication, and they required agent forwarding.
If i register the certificate in pageant, an set the config value "Attempt authentication using pageant" and "Allow agent forwarding" to true i can connect and everything works.

For some reason, i cannot use pageant. I want to set just the key and to authenticate via the certificate, but i still have to allow the agent forwarding.
But in this scenario, the server will return "Missing authentication agent request".

Question:
Is it possible to use agent forwarding without using pageant? If yes, how?

Thanks in advance.