File tree Expand file tree Collapse file tree 2 files changed +5
-36
lines changed
Expand file tree Collapse file tree 2 files changed +5
-36
lines changed Original file line number Diff line number Diff line change @@ -94,42 +94,7 @@ Registry](https://github.com/juanfont/headscale/pkgs/container/headscale). The c
9494 curl http://127.0.0.1:8080/health
9595 ` ` `
9696
97- 1. Create a headscale user:
98-
99- ` ` ` shell
100- docker exec -it headscale \
101- headscale users create myfirstuser
102- ` ` `
103-
104- # ## Register a machine (normal login)
105-
106- On a client machine, execute the ` tailscale up` command to login:
107-
108- ` ` ` shell
109- tailscale up --login-server YOUR_HEADSCALE_URL
110- ` ` `
111-
112- To register a machine when running headscale in a container, take the headscale command and pass it to the container:
113-
114- ` ` ` shell
115- docker exec -it headscale \
116- headscale nodes register --user myfirstuser --key < YOUR_MACHINE_KEY>
117- ` ` `
118-
119- # ## Register a machine using a pre authenticated key
120-
121- Generate a key using the command line for the user with ID 1:
122-
123- ` ` ` shell
124- docker exec -it headscale \
125- headscale preauthkeys create --user 1 --reusable --expiration 24h
126- ` ` `
127-
128- This will return a pre-authenticated key that can be used to connect a node to headscale with the ` tailscale up` command:
129-
130- ` ` ` shell
131- tailscale up --login-server < YOUR_HEADSCALE_URL> --authkey < YOUR_AUTH_KEY>
132- ` ` `
97+ Continue on the [getting started page](../../usage/getting-started.md) to register your first machine.
13398
13499# # Debugging headscale running in Docker
135100
Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ distributions are Ubuntu 22.04 or newer, Debian 12 or newer.
4242 sudo systemctl status headscale
4343 ` ` `
4444
45+ Continue on the [getting started page](../../usage/getting-started.md) to register your first machine.
46+
4547# # Using standalone binaries (advanced)
4648
4749!!! warning " Advanced"
@@ -115,3 +117,5 @@ managed by systemd.
115117 ` ` ` shell
116118 systemctl status headscale
117119 ` ` `
120+
121+ Continue on the [getting started page](../../usage/getting-started.md) to register your first machine.
You can’t perform that action at this time.
0 commit comments