Linux Bash Script Error

Hi Team,

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

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

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

Hi @KodeKloud, @kodekloud-support3, @Inderpreet

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

Thanks in advance!

@makadia.dhaval88

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.