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 ?

Follow

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

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mastodon @ SDF

"I appreciate SDF but it's a general-purpose server and the name doesn't make it obvious that it's about art." - Eugen Rochko