henrygd / beszel

Lightweight server monitoring hub with historical data, docker stats, and alerts.
MIT License
2.42k stars 73 forks source link

[Feature Request] SSH agent #147

Closed speedrapide10 closed 2 months ago

speedrapide10 commented 2 months ago

Hello,

Could you please add feature to add agent just by ssh connection. (Example Proxmox host since it's not recommended to install docker) Please let me know if any additional information is needed.

Thank you,

henrygd commented 2 months ago

I'm not sure I understand what you mean.

You can use the binary if you don't want to install Docker. We have a setup script here which will install it as a system service on Linux.

speedrapide10 commented 2 months ago

Yes i know that installing docker on top of proxmox is possible since it's based on debian is possible but it's not recommended. The request is to use only built in system feature like ssh/crontab for hosts that doesn't support docker agent. image

I hope you can get my idea

If i manually copy the ssh key into my host does it have the same effect ? (I'll revert back to you once tested)

henrygd commented 2 months ago

The binary is just an executable file. It doesn't use Docker at all. Just ignore that button.

See this part of the readme: https://github.com/henrygd/beszel/blob/main/readme.md#binary

I recommend using the install script to make setup easier.

Download agent install script:

curl -sL https://raw.githubusercontent.com/henrygd/beszel/main/supplemental/scripts/install-agent.sh -o install-agent.sh && chmod +x install-agent.sh

Install agent:

./install-agent.sh

Update agent:

sudo /opt/beszel-agent/beszel-agent update && sudo systemctl restart beszel-agent
speedrapide10 commented 2 months ago

Cool, thank you for the clarification and your fast reply. I confirm that it's working 👌