[Borgbackup] Crontab

AM-Soft – Thorsten Schöning TSchoening at am-soft.de
Wed May 31 13:07:46 EDT 2023


Ralf Fechner via Borgbackup <borgbackup at python.org> wrote at Mittwoch, 31. Mai 2023 17:12:

> Now I have created a new SSH key to access the server. I no longer have this Key in
> the .ssh directory, but I load this key into the ssh agend using KeepassXC.
> Unfortunately the script is no longer executed correctly via the configured crontab,
> here it always says, Remote: Permission denied, please try again.

".ssh directory" and "crontab" don't tell too much, you need to tell/check under which
user the script is executed in the end. ".ssh" might have been properly available for
that user in the past, but SSH agent might run for a different user. Additionally,
SSH in your setup needs ot be told to use the agent actually, so it might make sense to
provide your uses SSH arguments or configs.

https://smallstep.com/blog/ssh-agent-explained/

--

Für Rückfragen stehe ich Ihnen jederzeit zur Verfügung.

Mit freundlichen Grüßen,

Thorsten Schöning


Telefon: +49 5151 9468-55
Fax: +49 5151 9468-88
E-Mail: TSchoening at am-soft.de

AM-Soft IT-Service - Bitstore Hameln GmbH
Brandenburger Straße 7c
31789 Hameln

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen und ist ausschliesslich für den Adressaten bestimmt. Jeglicher Zugriff auf diese E-Mail durch andere Personen als den Adressaten ist untersagt. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, ist Ihnen jede Veröffentlichung, Vervielfältigung oder Weitergabe wie auch das Ergreifen oder Unterlassen von Massnahmen im Vertrauen auf erlangte Information untersagt.

This e-mail may contain confidential and/or privileged information and is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful.

Hinweise zum Datenschutz: bitstore.group/datenschutz


More information about the Borgbackup mailing list