Jochen Bern wrote: > (*) E.g., a la "uuencode tempfile < sourcefile | ssh user@host "uudecode > && mv tempfile finalfile", not that I'd *recommend* such an approach ... ssh is 8-bit clean so no need for uuencode. One could: ssh user@host 'f=`mktemp`; cat > "$f" && mv "$f" finalfile || rm "$f"' < srcfile ..or use a tool on top of ssh, like rsync, which does this and more. //Peter _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev