Issue
After initiating a session through PAM, an error may occur when running a cron job.
Resolution
-
Open the “/etc/ssh/sshd_config” file on the target Unix server.
-
Locate the relevant setting and change its value to “OFF”.
-
Save the changes and test the cron job again.