I am running Tor on Debian via SSH (I do not have GUI).
I am making applications run inside Tor using the torify prefix.
Is there a quick way to get a new IP address?
You can issue the NEWNYM command via the control port. The STEM documentation has a good example:
from stem import Signal
from stem.control import Controller
with Controller.from_port(port = 9051) as controller:
controller.authenticate()
controller.signal(Signal.NEWNYM)
printf "AUTHENTICATE \"your_password\"\r\nSIGNAL NEWNYM\r\n" | nc 127.0.0.1 9051
arminstalled pressxtwice for a new identity. – May 27 '15 at 20:11