On Thu, May 27, 2004 at 10:12:27PM -0700, Bill Moseley wrote: > I need to setup a way to rsync from a Solaris machine to a > Debian machine. I don't have root on the Solaris box and I > don't want the Debian user to have access to the Solaris > machine other than to rsync some files in read_only mode. I > want to use rsync over ssh, and I'll have to install ssh > locally in my account.
here's my cron entry: 09 03 * * * /usr/bin/rsync -vaz -e /usr/bin/ssh --delete 10.1.1.5:/home/shared/ /home/office/ reformatted for readability, this runs at 3:09am daily: /usr/bin/rsync \ -vaz \ -e /usr/bin/ssh \ --delete \ 10.1.1.5:/home/shared/ \ /home/office/ this copies /home/shared from 10.1.1.5 to local /home/office directory. to go the other way -- piece of cake! -- just reverse the last two items: /usr/bin/rsync \ -vaz \ -e /usr/bin/ssh \ --delete \ /home/office/ \ 10.1.1.5:/home/shared/ this assumes passwordless ssh connections are already set up, of course. (ssh-agent, ssh-keygen, which see.) -- I use Debian/GNU Linux version 3.0; Linux boss 2.4.18-bf2.4 #1 Son Apr 14 09:53:28 CEST 2002 i586 unknown DEBIAN NEWBIE TIP #50 from Will Trillich <[EMAIL PROTECTED]> : Want to specify EDITOR SETTINGS WHEN LAUNCHING FROM MUTT? Put something like this in your ~/.muttrc file: set editor="vim -c 'set ft=mail tw=64'" That ensures that Vim syntax highlighting is set for "mail" patterns, and that text will wrap automatically at 64 columns. (For more info, try ":help tw" or ":help ft" when inside Vim. Also, browse /usr/share/doc/mutt/html/manual.html for the full scoop on customizing Mutt.) Also see http://newbieDoc.sourceForge.net/ ... -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]