How to send env variables through Windows client

Advertisement

jamorenoci
Joined:
Posts:
3
Location:
spain

How to send env variables through Windows client

Hello Team,

I have a little question about how to use WinSCP to send env variables or if is possible.

To send variables in Linux you can use scp -o but in Windows WinSCP Client it is possible?

Thanks, Team.

Reply with quote

Advertisement

jamorenoci
Joined:
Posts:
3
Location:
spain

SendEnv WinSCP Client on windows

I want to send a variable through an SCP connection to the server, in Linux for me was ok.

But I do not find a field where I can add the variable in the WinSCP client to connect via SCP.

In Linux I connect in a next way:
export DP=hello
scp -o SendEnv=DP=hello  d-src.tgz admin@172.16.200.20:/home/admin/
But via Windows in the graphical interface of WinSCP I can't find a way to do that.

I really appreciate your help!

Reply with quote

martin
Site Admin
martin avatar

Re: SendEnv WinSCP Client on windows

As I wrote above, this is not supported by WinSCP yet.
You didn't explain why do you need to set the variable.

Reply with quote

Advertisement

You can post new topics in this forum