Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to connect to a running instance of Tor with the Tor Control (TC) Protocol using Telnet on the ControlPort (specified in the torrc file) on Windows.

Whenever I connect using Windows's own implementation of Telnet or with PuTTY, I just receive an empty prompt. Knowing that TC only allows the AUTHENTICATE "[pass]", PROTOCOLINFO, or QUIT commands, I enter one of those. No matter which command I enter, I receive the error 514 Authentication Required.

So, Tor is not letting me authenticate and thus I cannot control Tor with Telnet commands. What could I be doing wrong?

share|improve this question
  • First you must set the ControlPort in your torrc file like this:

    ControlPort 9051
  • Then restart Tor or Vidalia and set the authentification to None in Preferences → Advanced

  • Then from the command line in Windows type:

    telnet localhost 9051

    (it seems nothing happens and the screen remains black)

  • Type: authenticate "" (also if you did not see anything) and you'll see 250 OK.

Now you can send tor commands like signal newnym.

share|improve this answer
up vote 1 down vote accepted

It appears that, in PuTTY at least, I have to specify a Raw connection instead of a Telnet connection. But, using telnet localhost 9051 in the Windows prompt now gives me a 250 OK on authenticate "[pass]", though it doesn't print the authenticate command as I type it.

share|improve this answer
telnet doesn't print what you type by default, you have to tell it to. – Rob Feb 22 '12 at 18:34
As i said in my answer you did not see anything when you type it. Then if the pass is correct you'll see a OK statement....From my answer : Type: authenticate "" (also if you did not see anything) and you'll see 250 OK. – dyoser Mar 2 '12 at 0:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .