[ale] Getting root ssh key to work (was Re: [ot] Xmpp, ejabberd question)

Brian Mathis brian.mathis+ale at betteradmin.com
Tue Jan 17 11:53:52 EST 2012


The ssh config files use a style where the directives are in the file
with the default setting, and then commented-out.  If you need to
change the setting, only then should it be uncommented and then the
setting can be changed. Since allowing public key auth is the default,
there is no need to change the file.


❧ Brian Mathis


On Fri, Jan 13, 2012 at 3:40 PM, Jim Kinney <jim.kinney at gmail.com> wrote:
> Yep! Easy tool is called ssh-copy-id <user>@<hostname>  will do the
> RightThing (tm) on the remote end.
>
> Also you will need to edit the /etc/ssh/sshd_config file and change
>
> #PubkeyAuthentication yes
> #AuthorizedKeysFile    .ssh/authorized_keys
>
> to
>
> PubkeyAuthentication yes
> AuthorizedKeysFile    .ssh/authorized_keys
>
> For the back up process, you will want to put the key in the account of the
> backup user on the far machine (back up data storage system - wilma), not
> root user.
>
> James P. Kinney III



More information about the Ale mailing list