How does scp traffic flow between two remote hosts?

Viewed 9567

If you issue a scp command between 2 remote servers, will the traffic flow directly between the hosts, or will it flow from Remote1 => Local Machine => Remote2?

For example I issue this command on my laptop:

scp user1@remote1.com:/Files user2@remote2.com:/Files
3 Answers
Related