Linux Tidbits

From ChipWiki
Revision as of 21:42, 6 April 2009 by Chip (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

rsync with ssh generation

ssh-keygen -t rsa
ssh-copy-id -i ~/.ssh/id_rsa.pub someothercomputer
rsync -ave ssh /localfiles/ remotebox:/localfiles

(note: add --delete to rsync for a proper mirror, or leave off for full backup)