[CentOS] Rsync, SSH and authorized_keys problem

Tue Jun 16 21:20:38 UTC 2009
Filipe Brandenburger <filbranden at gmail.com>

Hi,

On Tue, Jun 16, 2009 at 17:12, Spiro Harvey<spiro at knossos.net.nz> wrote:
> well, I've never seen anything other than keys in an authorized_keys
> file..

See the "AUTHORIZED_KEYS FILE FORMAT" section in "man sshd".

> (btw - use authorized_keys2 for ssh v2),

That file name is deprecated, the file should be named authorized_keys instead.
http://marc.info/?l=openssh-unix-dev&m=100508718416162&w=2

> try single quotes (') around the command= bit with the double quotes
> around the ssh command and see if that makes a difference.

No, AFAIK the command="..." in authorized_keys it needs double quotes.
The man page implies it, and I believe I tested it with single quotes
and it did not work...

HTH,
Filipe