I did same steps for all the three app server and it worked too. not sure why it is giving error on app1. have a look.
This topic can give you a hint
yes i cheked that post earlier also.
why did it fail only for app01, i did same steps on all 3 app server.
question mentioned “passwordless thor account”. can you repost complete problem statement here to review it. i am not able to see it now.
I think the question was to make passwordless login for thor on remote machines, but using their respective sudo user, like tony for app server 1 and so on. So you should be able to login with user tony on app server 1 without using a password.
Hope this explains