I would like to execute a command on a remote machine using telnet as,
telnet xxxx command or similar
I want to include this as part of a script in Python (a subprocess) and therefore need it on one line. Or are there other ways to do the same?
Any help is appreciated.
Thank.
source
share