You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The hbbs public and private keys are generated and stored in the same directory as the hbbs executable.
When I run ./hbbs from that same directory all is fine.
However I created a systemd script for starting and stopping hbbs. Installation directory /opt/rustdesk. Systemd handles this fine, but apparently the key is not loaded in hbbs. I get a key error.
When I add the public key to the startup command: /opt/rustdesk/hbbs -k 'thisisthepublickeyformyinstallation' all is fine.
Since this is the public key it does not compromise security. Still it is not very elegant that the key is not taken from the executable directory. When I change the key pair I must remember to update the script.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The hbbs public and private keys are generated and stored in the same directory as the hbbs executable.
When I run ./hbbs from that same directory all is fine.
However I created a systemd script for starting and stopping hbbs. Installation directory /opt/rustdesk. Systemd handles this fine, but apparently the key is not loaded in hbbs. I get a key error.
When I add the public key to the startup command: /opt/rustdesk/hbbs -k 'thisisthepublickeyformyinstallation' all is fine.
Since this is the public key it does not compromise security. Still it is not very elegant that the key is not taken from the executable directory. When I change the key pair I must remember to update the script.
What am I missing here or what am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions