Feature: RustDesk Server Pro License Key Installation
Overview
RustDesk is a popular open-source remote desktop software that allows users to access and control remote computers. To enhance the functionality and support of RustDesk, a pro license key can be installed to unlock additional features. This feature outlines the process of installing a RustDesk server with a pro license key.
Benefits
Installation Steps
config.json or config.yaml)license_key: <your_license_key_here>Troubleshooting
Best Practices
By following these steps and best practices, administrators can successfully install a RustDesk server with a pro license key, unlocking advanced features and ensuring compliance with licensing requirements.
Before installing the license, ensure you have the following:
This is the most critical step. The Pro server looks for the license key in the RUSTDESK_PRO_LICENSE variable.
Create a systemd service file with the key embedded. Replace YOUR_LICENSE_KEY_HERE with the actual string. rustdesk server pro license key install
sudo nano /etc/systemd/system/rustdesk-hbbs.service
Paste the following, ensuring the Environment line contains your exact key:
[Unit] Description=RustDesk ID Server (Pro) After=network.target[Service] Type=simple User=root Environment="RUSTDESK_PRO_LICENSE=YOUR_LICENSE_KEY_HERE" ExecStart=/usr/local/bin/hbbs -r your-domain.com:21117 Restart=on-failure RestartSec=5
[Install] WantedBy=multi-user.target
Note: Replace your-domain.com:21117 with your actual public FQDN and relay port. Unlock advanced features of RustDesk, such as:
To ensure the license was installed correctly:
curl http://<YOUR_SERVER_IP>:21114/api/license
The Pro server automatically creates a key pair in the ./data directory (id_ed25519.pub). You need this for clients.
View it:
cat ./data/id_ed25519.pub
It looks like: t0B+mfBNnW9bDkP4iX8kL9cZ....
The Pro version is a separate binary from the free version. You can install it manually or via the official installer. Paste the following
sudo cp hbbs /usr/local/bin/
sudo cp hbbr /usr/local/bin/
sudo chmod +x /usr/local/bin/hbbs /usr/local/bin/hbbr