hi....


i created a telnet connection to a remote server using telnetlib and excuted few commands using telnet.write. can't a python script residing on the remote host be run using telnet.write?
i.e, do something like

telnet.write("./script_name.py argument1 arguement2........") after the connection is established?

to add on....

how do i pipe the output of that script on remote host onto local host?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.