Hello list! I want to use rsync over ssh to copy files from a server to all my clients. Basically the following commando should be used: rsync -re "ssh -i .ssh/tomte" /var/local/tomte-bin/ merkur:/ On the client to commando should be checked so i added a command="/usr/local/bin/check_command.sh" to my authorized_keys for the tomte public key. But i get the following error: protocol version mismatch - is your shell clean? (see the rsync man page for an explanation) rsync error: protocol incompatibility (code 2) at compat.c(58) The manual told me to try to use "ssh merkur /bin/true > output" but it seems everything is okay as output is a empty file. Any ideas what could happen? Thanks in advance! Mario -- Serious error. All shortcuts have disappeared. Screen. Mind. Both are blank.
On Thu, Feb 24, 2005 at 03:18:13PM +0100, Mario Domg?rgen wrote:> On the client to commando should be checked so i added a > command="/usr/local/bin/check_command.sh" to my authorized_keys > for the tomte public key.Check to see what the /usr/local/bin/check_command.sh command is outputting, as it's probably gumming up the works (it must output nothing at all on stdout, though it is probably OK for it to use stderr, if required). You can always run the exact remote command that rsync is running manually to see what it happening (just run rsync with -vv to see what the command is). ..wayne..