Create 12_2_Changing_Your_Bitcoin_Hidden_Services.md

This commit is contained in:
Javier Vargas 2020-06-30 22:33:36 +02:00 committed by GitHub
parent d938af4e91
commit e5a3882af7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,18 @@
# Chapter 12.2: Changing Your Bitcoin Hidden Services
In this chapter we will show you how to create or change your local Bitcoin Hidden Service. To archieve this we need to add current user to tor or debian-tor group to guarantee that Bitcoin daemon can sets up an automatic hidden service on the first startup if it's correclty configured. Bitcoind will create a file called onion_private_key in the data directory. Further check if file control.authcookie exists like this:
```
~$ ll /run/tor/control.authcookie
-rw-r----- 1 debian-tor debian-tor 32 jun 26 09:44 /run/tor/control.authcookie
```
Add your user to debian-tor group like this:
```
~$ sudo usermod -a -G debian-tor [CHANGE_MY_USER]
```
ll /run/tor/control.authcookie
-rw-r----- 1 debian-tor debian-tor 32 jun 26 09:44 /run/tor/control.authcookie