SCP Remote-To-Remote?

Peter Stuge peter at stuge.se
Mon Jan 26 13:06:15 EST 2009


Peter Lambrechtsen wrote:
> scp -MITM user at host:/directory/files user at host2:/destinationdir
> 
> And the traffic be routed via the local server, instead of trying
> to connect directly (as there are no routes between the two due to
> security and firewall restrictions).
> 
> Ideas as to if this may be supported in SCP?

In theory this is easy, start a remote sink instead of sinking
locally. However, scp is considered a legacy program, kept around
only for backwards compatibility, so I doubt a new development like
this would be included.


//Peter


More information about the openssh-unix-dev mailing list