4 ms·scp is effectively: cat foo | ssh user@remote 'cat > foo' That is why all the escaping is necessary.by throwawayboise 5y agoscp is effectively: cat foo | ssh user@remote 'cat > foo' That is why all the escaping is necessary.