Outils pour utilisateurs

Outils du site


tech:pb_rsync

Ceci est une ancienne révision du document !


Pb rsync protocol version mismatch

http://ss64.com/bash/rsync.html

# rsync -axP acme:/var/www/ ~/backup/www
protocol version mismatch -- is your shell clean?
(see the rsync man page for an explanation)
rsync error: protocol incompatibility (code 2) at compat.c(176) [Receiver=3.1.1]
ssh acme /bin/true > out.dat

Le fichier out.dat doit être vide. Si ce n'est pas le cas

Exemple :

J'ai dû modifié mon .bashrc (de Acme) comme suit :

.bashrc
bin/start.sh
.bashrc
if [ $TERM == 'xterm' ]
then
        bin/start.sh
fi

A tester : --no-motd

tech/pb_rsync.1742825205.txt.gz · Dernière modification : de 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki