[Borgbackup] Crontab

Ralf Fechner info at rfechner.de
Thu Jun 1 08:03:35 EDT 2023





> Am 01.06.2023 um 13:53 schrieb Alberto Luaces <borgbackup at aluaces.fastmail.com>:
> 
> Ralf Fechner via Borgbackup <borgbackup at python.org> writes:
> 
>> 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.
> 
> You can run «ssh-add -L» from your cron script and inspect the logs.
> 
> My bet is that the environment variables the ssh agent exports are not
> available when running the script through cron, thus ssh cannot reach
> the key.

Ok, I have done that. Then comes the message:

Could not open a connection to your authentication agent.

This means that Crontab can not access the agent. Is it possible to change this? If yes how?

> _______________________________________________
> Borgbackup mailing list
> Borgbackup at python.org
> https://mail.python.org/mailman/listinfo/borgbackup

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <https://mail.python.org/pipermail/borgbackup/attachments/20230601/9b6d944f/attachment.sig>


More information about the Borgbackup mailing list