RustDesk: How to get or set ID on the command line

How to read the current ID of your RustDesk instance

rustdesk --get-id

This will output the ID of your RustDesk server. You can use this ID to connect to your server from the RustDesk client.

Example output:

1398282961

How to set the ID of your RustDesk instance

rustdesk --set-id 1234567890

This command sets the ID of your RustDesk instance to 1234567890. Make sure to replace 1234567890 with the desired ID.