11:33 04/06/2008

clifoo 3: use ssh and tar for secure transfer

in

The following will transfer a folder called openbsd_test from snoopy to droopy. The transfer will be secure by ssh and compressed/decompressed on the fly by tar and gzip. The decompression is redirected to /srv/vmware/ to prevent filling up my home directory.

snoopy vmware$ tar -zcf - openbsd_test/ | ssh droopy tar -zxvf - -C /srv/vmware/

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote>
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Images can be added to this post.
  • Image links with 'rel="lightbox"' in the <a> tag will appear in a Lightbox when clicked on.

More information about formatting options