I wish scp would let you copy via ssh on both source and dest
@ghostdancer I should try that sometime..
I bet I could make something terrible out of cat, ssh and |
ssh user1@remote1 "cat /path/to/src" | ssh user1@remote2 "cat - > /path/to/dest"
What could possibly go wrong!
Maybe insert "pv" in the middle to get a running commentary ?
@kat ah, thought it was possible but in retrospect obviously not as the two remote hosts might not be able to contact each other. There's a way of doing it through a tunnel from host 1 to your machine, which sends everything off to host 2. Much on stackexchange about this...
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!