I am doing borg backups from several users from same&different machines, so I need to be able to add multiple authorized keys into the /home/borg/.ssh/authorized_keys file.
With the "-e" flag, echo can interpret e.g. \n and would add a newline. Defining BORG_AUTHORIZED_KEYS='ssh-rsa AA... PC-1\nssh-rsa BB... PC-2\nssh-rsa CC... PC-3' will result in
I am doing borg backups from several users from same&different machines, so I need to be able to add multiple authorized keys into the /home/borg/.ssh/authorized_keys file.
With the "-e" flag, echo can interpret e.g. \n and would add a newline. Defining BORG_AUTHORIZED_KEYS='ssh-rsa AA... PC-1\nssh-rsa BB... PC-2\nssh-rsa CC... PC-3' will result in