Re: Possibility to use WinSCP with SSH-GW.
In my company we have SSH-GateWay to outside world. WinSCP is not supportted by my company at all, but I like to use it my own private purposes. Is it possible to add a feature to use WinSCP with SSH-GW ?
Exemple you want to get a file F hosted on unix server S in /tmp directory which is behind a sshgateway G that you use to login with user U and you want to get that file F in your local directory D:\temp
Get F from unix machine :
pscp.exe -scp -i K U@G:S//tmp/F D:\temp
Put F to unix machine :
pscp.exe -scp -i K D:\temp\F U@G:S//tmp
Which is in fact :
pscp.exe -scp -i <your_key> <source> <destination>
where <source> is the file to transfert example if you want to transfer the file in your D:\temp
<source> will be like :
<sshgateway_user>@<sshgateway_IP>:<source_server>/<source_Path>/<source_file>
and
<destination> will be like :
<destination_path_or_file>
and so on