Hi all,

I'm using command= in my authorized_keys file in conjunction with rsync,
but for some reason it's matching the wrong key. It also seems arbitrary.

On the local side, I'm using "rsync -avze 'ssh -i key' files/ host:/path"
and on the remote side I'm using:

command="/usr/bin/rsync --server -vlogDtprz . /path" key....

There are about fifteen keys in the authorized_keys file, but unless I
move the correct key to the top of the file, it will seemingly arbitrarily
pick a key from the fifteen instead of the correct one. Why is this? They
keys are in fact different; each one of the fifteen were generated with
ssh-keygen.

Thanks,
Dave



Reply via email to