omit /etc/issue message when running rsync

dentarg at starkast.net dentarg at starkast.net
Wed Jun 6 15:20:10 GMT 2007



On 2007-06-06 14:53, Dave Markham wrote:
> Yeah you can stop banner messages and the like its the ssh which is doing
> it.
> 
> I use the following for my rsync.
> 
> # [ Binary Vars ]
> RSYNC_BIN=$(/usr/bin/which rsync)
> RSYNC_OPTS=" -PaRzq --delete --delete-excluded --copy-unsafe-links
> --numeric-ids"
> RSYNC="${RSYNC_BIN} ${RSYNC_OPTS}"
> SSH_BIN=$(/usr/bin/which ssh)
> SSH_OPTS=" -i ${NOVAB_LOC_SSH_KEY} -o ConnectTimeout=15 -o BatchMode=yes -o
> StrictHostKeyChecking=no -o LogLevel=quiet"
> SSH="${SSH_BIN} ${SSH_OPTS}"
> 
> 
> and then use the variables when invoking rsync.  I think the option which
> stops the banner is LogLevel=quiet

Yepp, puting "LogLevel quiet" in ~/.ssh/config did the trick. Thank you
very much.

> 
> 
> On 6/6/07, dentarg at starkast.net <dentarg at starkast.net> wrote:
>>
>> Is there a way to omit the text printed out by issue(5) on some
>> systemes? Like what --no-motd does for motd-texts.
>> -- 
>> To unsubscribe or change options:
>> https://lists.samba.org/mailman/listinfo/rsync
>> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
>>
>>
> 


More information about the rsync mailing list