> For the complete documentation index, see [llms.txt](https://docs.validator247.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.validator247.com/group-1/hetzner-pass.md).

# hetzner Pass

#### Bước 1: Kích hoạt chế độ Rescue từ Hetzner Robot

1. Đăng nhập vào tài khoản chính trên Hetzner Robot.
2. Vào **Servers** > Chọn server cần thao tác.
3. Chọn **Rescue** > Kích hoạt chế độ Rescue và chọn hệ điều hành (thường là Linux).
4. Lưu lại mật khẩu Rescue được cung cấp (hoặc kiểm tra trong email).

***

#### Bước 2: Đăng nhập vào chế độ Rescue qua SSH

1. Sử dụng ứng dụng SSH (như `ssh` hoặc PuTTY) để kết nối đến IP của server.

   ```bash
   ssh root@<server-ip>
   ```
2. Nhập mật khẩu Rescue mà Hetzner cung cấp.

***

#### Bước 3: Mount ổ đĩa chứa hệ điều hành chính

1. Kiểm tra các ổ đĩa có sẵn:

   ```bash
   lsblk
   ```
2. Mount phân vùng chính (thường là `/dev/nvme0n1p4` hoặc tương tự ) vào thư mục tạm:

   ```bash
   mount /dev/nvme0n1p4 /mnt
   ```

***

#### Bước 4: Chỉnh sửa mật khẩu

1. Chroot vào hệ điều hành chính:

   ```bash
   chroot /mnt
   ```
2. Đổi mật khẩu root:

   ```bash
   passwd
   ```

   * Nhập mật khẩu mới hai lần.
3. Thoát khỏi chroot:

   ```bash
   exit
   ```

***

#### Bước 5: Khởi động lại server

1. Tháo mount:

   ```bash
   umount /mnt
   ```
2. Khởi động lại server để thoát khỏi chế độ Rescue:

   ```bash
   reboot
   ```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.validator247.com/group-1/hetzner-pass.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
