I am writing a program to ssh into another computer on our network. However with the commands ssh, scp etc... terminal requests the password and os.system() seems to open a new terminal window each time it is called. This makes it difficult to enter the password.
I have been looking at os.system(), popen() and appscript's app(u'/Applications/Utilities/Terminal').do_script().
Any help would be greatly appreciated.