If i run my studio in my local machine. Then i took one RDP machine if possible to do the task in remote machines and also if i took Linux machine using my putty can do the task.
though i am not good at RDP. i can say at high level you could be able to do it using the different activites in UiPath or Citrix Automation(considering).
but i am not sure about the putty as i have no idea about this.