[CentOS] Rsync, SSH and authorized_keys problem

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


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.

> 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...


More information about the CentOS mailing list