On Thu, Nov 8, 2012 at 11:14 PM, Dave Angel <d...@davea.name> wrote: > >> HOST = "192.168.xx.xx" >> user = raw_input("Enter your remote account: ") >> password = getpass.getpass() >> >> tn = telnetlib.Telnet(HOST) > > Where's the error message, including the traceback? Somebody (not me) > who is familiar with telnetlib can presumably help, given enough > information.
The port to use is the 2nd argument: HOST = '192.168.xx.xx' PORT = 2332 tn = telnetlib.Telnet(HOST, PORT) http://docs.python.org/2/library/telnetlib#telnetlib.Telnet _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor