From acee6d471c63671bfb9bdef62a3b6e2ebe40ba55 Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 10 Mar 2026 11:47:37 +0100 Subject: [PATCH] fix: ssh connection correctif --- server/config/backup-script.json | 6 +++--- server/config/disk-commands.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/server/config/backup-script.json b/server/config/backup-script.json index e46bedc..0a2b248 100644 --- a/server/config/backup-script.json +++ b/server/config/backup-script.json @@ -3,18 +3,18 @@ "key": "backup-bdd-recette", "label": "Backup BDD recette", "icon": "mdi:database-export", - "command": "ssh malio-b@192.168.0.179 'cd /home/malio-b/Malio-ops/RecetteScripts && bash backup-bdd-recette.sh && exit'" + "command": "ssh ferme 'cd /home/malio/Scripts-Serveur/RecetteScripts && bash backup-bdd-recette.sh && exit'" }, { "key": "check-statut-recette", "label": "Check statut recette", "icon": "mdi:server-network", - "command": "ssh malio-b@192.168.0.179 'cd /home/malio-b/Malio-ops/RecetteScripts && bash check-statut-recette.sh && exit'" + "command": "ssh ferme 'cd /home/malio/Scripts-Serveur/RecetteScripts && bash check-statut-recette.sh && exit'" }, { "key": "backup-vaultwarden", "label": "Backup vaultwarden", "icon": "mdi:data", - "command": "ssh malio-b@192.168.0.179 'cd /home/malio-b/Malio-ops/BackupVaultWarden && bash backup-vaultwarden.sh && exit'" + "command": "ssh ferme 'cd /home/malio/Scripts-Serveur/BackupVaultWarden && bash backup-vaultwarden.sh && exit'" } ] diff --git a/server/config/disk-commands.json b/server/config/disk-commands.json index b901bcc..17e5c31 100644 --- a/server/config/disk-commands.json +++ b/server/config/disk-commands.json @@ -2,7 +2,7 @@ { "key": "remote", "label": "Serveur distant", - "command": "ssh malio-b@192.168.0.179 'cd /home/malio-b/Malio-ops/CheckStorage && bash check-storage.sh && exit'" + "command": "ssh malio-b 'cd /home/malio-b/Malio-ops/CheckStorage && bash check-storage.sh && exit'" }, { "key": "local",