소스 검색

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
+```
 
 :::