Hi I'm newby to using ssh and sftp The scenario is the following one: I have to transfer a big file from local to a server passing through proxy server. local <----> proxy <-----> destination
The problem is that the file don't fit on proxy server, so i cannot perform sftp in two steps. I have to define a tunneling between local and destination, through proxy, but I don't know how. The base command is this:
ssh [email protected] ssh [email protected]
but this command doesn't work because I have to specify the ports. How can I set up a tunnel in that scenario to use sftp?
Thanks in advance Marco