ソースを参照

Ajout forçage de la vérification des fingerprints

lauhub 1 週間 前
コミット
497ad732ae
1 ファイル変更5 行追加1 行削除
  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
+```
 
 :::