have created bash script to transfer file from one server to other. it worked fine and it transferred file.
But when I submitted the task it gave me failed task error.
PFA screenshot for the same.
Regards,
Vishal Galhotra
have created bash script to transfer file from one server to other. it worked fine and it transferred file.
But when I submitted the task it gave me failed task error.
PFA screenshot for the same.
Regards,
Vishal Galhotra
The task indicated that the execution and the transfer must be done by the respective user.
so if the server is app 1, you must use tony, if the server is app 2 , the user is steve ,…
in you case you used clint which is not the same thing wanted
the error you made is while you were trying to setup the passwordless for root user not for tony user
so you must run cmds banner tony
“tony@stapp01 # sudo ssh-copy-id clint@stbkp01” that’s way you will create a key and setup passwordless for tony user and not for root.