December 16, 2022

How to set up Hetzner dedicated server

1. First of all, you need to register on Hetzner official web-site

2. Next, verify your identity by using your ID-card, passport or other identity document

3. Add your payment method after or before the verification

Pic. 1

4. After this go to home page and select Robot on the top

Pic. 2

5. Choose the dedicated server what you need. For example it will be Root Server AX41-NVMe

Pic. 3

6. In the next step we need to select our order configuration. You can select just Location and Operation System that you need. Let it be Ubuntu 20.04.3 (HWE) LTS minimal. Add order to shopping card.

7. In this step you need to configure your Server login details

Pic. 4

7.1 Select a new public key and then open the linux terminal on your local machine

7.2 Paste next command

ssh-keygen -t rsa -b 4096 -C "some comment here"

and press Enter without passphrase (it can be your choice)

You will see some message like on a picture bellow

Pic. 5

8. Next, copy your ssh-rsa PUBLIC KEY by command cat .ssh/id_rsa.pub and put it on the key-data module that shown on Pic.4. Click save

9. Click Checkout your shopping device and wait letter from Hetzner Administration. After the letter arrives your server will shown on next page. Choose them

Pic. 6

10. Now the first thing to do is select and activate The Rescue mode by using your public-key!

Pic. 7

11. Reboot your server

12. That is all! Open your terminal or Termius app and select the command

ssh root@THE IP FROM YOUR LETTER

Be happy!

Best regards,

Enoch Wallace