Re: [Tutor] Telnet login

2012-11-08 Thread eryksun
On Thu, Nov 8, 2012 at 11:14 PM, Dave Angel 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 tel

Re: [Tutor] Telnet login

2012-11-08 Thread Dave Angel
On 11/08/2012 10:48 PM, T. Girowall wrote: The quoting levels in this message are probably messed up, but I fixed the order, and tried to fix the levels. >> On 11/08/2012 09:33 PM, T. Girowall wrote: >>> >>> ip: 192.168.xx.xx >>> port: 2332 >>> >>> Any help is appreciated, >>> Tim >>> import get

Re: [Tutor] Telnet login

2012-11-08 Thread Dave Angel
On 11/08/2012 09:33 PM, T. Girowall wrote: > > ip: 192.168.xx.xx > port: 2332 > > Any help is appreciated, > Tim > import getpass import sys import telnetlib HOST = "localhost" user = > raw_input("Enter your remote account: ") password = getpass.getpass() tn = > telnetlib.Telnet(HOST) tn.read_u

[Tutor] Telnet login

2012-11-08 Thread T. Girowall
Hello All,  I'm trying to telnet to a device with a particular IP address. I'm using the sample code below and get the following error:  Erro 10061: "No connection could be made because the target machine actively refused it" My firewall is turned off.  I'm using Python 2.7 I'm using Windows XP