Re: Feature Suggestion - scp don't decrypt file at destination

This is a discussion on Re: Feature Suggestion - scp don't decrypt file at destination within the OpenSSH Development forums, part of the Networking and Network Related category; Gerard J. Cerchio wrote: > The idea is this: when this switch is present, the file is encrypted on the &...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-06-2005
Damien Miller
 
Posts: n/a
Default Re: Feature Suggestion - scp don't decrypt file at destination

Gerard J. Cerchio wrote:
> The idea is this: when this switch is present, the file is encrypted on the
> fly just as always. However when the file reaches the destination, it
> is emitted onto the disk in the transported encrypted state. The
> decryption
> stage is by-passed. The file name is then marked with a unique file
> extension to indicate that it is encrypted.


This won't work without drastic changes to scp and ssh. scp doesn't know
that session keys that ssh uses (and shouldn't) - it just treats ssh as
a secure transport.

If you want encryption for backups, this is a good recipe:

tar zcf - /path/to/whatever | gpg --encrypt -r publickey@domain.com | \
ssh user@backuphost "dd of=backup.tar.gz.pgp"

-d

_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://www.mindrot.org/mailman/listi...enssh-unix-dev
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:11 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0