Kaynağa Gözat

Ajout forçage de la vérification des fingerprints

lauhub 1 hafta önce
ebeveyn
işleme
497ad732ae
1 değiştirilmiş dosya ile 5 ekleme ve 1 silme
  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
+```
 
 :::