A
A
Aleksey Vakhrameev2020-08-05 17:05:33
SSH
Aleksey Vakhrameev, 2020-08-05 17:05:33

Ssh-agent for cron job why not working?

if I enter ssh-add -l it in the terminal, I will see the keys and I can connect with them.
and if you make the cron task the same, it displays:

Could not open a connection to your authentication agent.

why is that?
well, that is, I can’t connect via ssh in the cron task because of this

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question