I wish scp would let you copy via ssh on both source and dest

Follow

@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 ?

· · Web · 1 · 0 · 0

@kat That's really unixy and that is what it makes it look so terrifying

Sign in to participate in the conversation
Mastodon

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!