Hi Charles,

On 5/12/19 8:36 PM, Charles Curley wrote:
> With that, my setup script now looks like:
[...]
> if [ ! -d /home/amandabackup/.ssh ] ; then
>     echo Copying .ssh for user amandabackup
>     cp -rp /root/.ssh /home/amandabackup

This copies also root's private key(s) and authorized_keys and config,
which is not desired. You should probably create at least one separate
key pair for amandabackup (it's up to you if you create a separate key
for each client and maintain ~amandabackup/.ssh/authorized_keys for each
client).

> And I'm not sure I need the .ssh in there. Does amanda ever use that
> user?

I believe amanda would use ssh if you configure it with ssh auth.

Yours, Uwe

Reply via email to