in my opinion not a good idea to log in with a program into remote desktop to perform operations. If something goes wrong, and you won't be there to see it, it could potentially create havoc. There are established/commercial software to administer remote servers, with much fewer risks.
the hardest line to type correctly is: stty erase ^H