apt install wget -y wget -O - https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.deb.sh | bash apt install crowdsec -y sed 's/config.yaml$/config.yaml -no-api/' /lib/systemd/system/crowdsec.service > /etc/systemd/system/crowdsec.service systemctl daemon-reload systemctl enable --now crowdsec cscli lapi register -u https://crowdsec.domaine.com --machine <nom> systemctl reload crowdsec
Sur le serveur avec l'api
cscli machines validate <nom>