I am trying to connect to TOR via telnet in my terminal on my mac osx and to request new identity, but it is not working, I always get this error message:
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused
telnet: Unable to connect to remote host
I am using this telnet command for the connection:
telnet 127.0.0.1 9051
And idea why is this not working?
thx
The fastest and easiest way to get "new identity" is send HUP signal.
Tor daemon re-read configurations files and make "new identity".
I keep special bash script for this:
# cat /usr/local/bin/nym
#!/bin/bash
pidof tor | xargs sudo kill -HUP
My sudoers file full of NOPASSWD:
# cat /etc/sudoers
....
anonymous ALL=(ALL) NOPASSWD: ALL
...
Try this.