All pastes #37846 Raw Edit

Untitled

public text v1 · immutable
#37846 ·published 2006-01-21 17:12 UTC
rendered paste body
tar -cpf - <some files> | ssh user@host (cd target_directory; tar -xvpf -)

Omit the "<" characters.  Those are, uh, meta-syntactic.
The open and close parens make sure that the stdin stream is received by the tar -x process.