Feature Suggestion - scp don't decrypt file at destination unecrypt on copy back switch

Damien Miller djm at mindrot.org
Thu Apr 7 21:05:20 EST 2005


Gerard J. Cerchio wrote:
> Damien wrote:
> 
>  > tar zcf - /path/to/whatever | gpg --encrypt -r publickey at 
> domain.com <http://www.mindrot.org/mailman/listinfo/openssh-unix-dev> | \
>  >  ssh user at backuphost 
> <http://www.mindrot.org/mailman/listinfo/openssh-unix-dev> "dd 
> of=backup.tar.gz.pgp"
> 
> Thanks Damien, but this solution leads to single file recovery problems, 
> especially given that most users can't tell a tar from a feather. ;)

I don't follow - tar and OpenPGP are standard and widely used formats
and any other encrypted format would have similar issues. If you don't
like tar, then you can zip to similar effect.

> It will also bulk up the data transfer making the data less compressible 
> and larger due to entropy added during encryption.

No. The data is compressed before encryption.

-d




More information about the openssh-unix-dev mailing list