Linux Bash Script Error

Hi Team,

My recent task failed with the given error: is not found on backup server

However, attaching the snapshot where in the file exists when tested
Please help to check the error.

@Ayman/@kodekloud-support3 - Can you please help?

Hi @Ayman, @kodekloud-support3, @Inderpreet

Can someone please help, its pending since couple of days.

Thanks in advance!


You tested the script from user root on stapp03 and which seems to work but did you test the same from sudo user i.e banner as per task sudo user banner should be able to run the script. You added root user’s SSH key to destination server but not banner user’s key hence task failed.

Thanks a lot @Inderpreet!

Got the point.