Explorar el Código

Ajout forçage de la vérification des fingerprints

lauhub hace 1 semana
padre
commit
497ad732ae
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. 5 1
      ssh/tunnel-autossh.md

+ 5 - 1
ssh/tunnel-autossh.md

@@ -125,7 +125,11 @@ SSH_ORIGINAL_COMMAND="tunnel_check 6022" /home/tunnel/bin/tunnelcheck
 
 :::important
 
-Procéder à la vérification des *fingerprint* si nécessaire
+Procéder à la vérification des *fingerprint* 
+
+```
+sudo -u tunnel ssh -o PasswordAuthentication=no -p 6022 -n -f localhost exit 2>&1
+```
 
 :::