I am trying to transfer file from a remote server behind jumphost server to my local machine using pscp and SFTP. I know how to do it for a remote server but not for jumphost-ed server. Also I need to make it automated (no user interaction needed), how do I do it? Thanks.
Transfer file from remote server behind another server (jumphost) to local machine using pscp
1.9k views Asked by Mayank Sharma At
2
You can do it the same way you already execute command over the jump host:
Execute commands on remote server behind another server (jumphost) using Plink
Just use
pscp, where you are usingplink.Something like this: