I've generated private key and hostname to my onion domain using scallion, and I have tried to copy and paste it into the hidden service directory, to the "hostname" and "privatekey" files, but wheb I tried to start tor it showed me an error. scallion generated for me 13 keys and domains, but none of them worked. I copied the hostname and got down a line, and I entered the private key including "----BEGIN RSA PRIVATE KEY----" and the same but to the end "end rsa...", but it didn't work. Does anybody ever tried host hidden service on windows and change hostname? what am I doing wrong?

(tor configure to the right folder directory)

  • What is the error? Commented Jan 8, 2019 at 17:47
  • I tried to change onion domain to one I have generated using scallion, and when I restarted TOR it returned error.
    – A.naam
    Commented Jan 18, 2019 at 15:58
  • 1
    But you need to say what the error is! Commented Jan 18, 2019 at 16:02
  • Copy that error message here but replace the onion hostnames with Xxxxx and Yyyyyy for an old and a new one
    – Alexey Vesnin
    Commented Feb 4, 2019 at 19:22

1 Answer 1


You’re not providing any useful information here. However, I’ll take a guess at what your problem might be:

Tor is very particular about file permissions. I’m guessing that you didn’t change file ownership to the tor service’s user account, or that you didn’t change the file permissions to read-only for the tor account and no access to any other user account.

You must log in to answer this question.

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