ssh & scripts automatisés, The authenticity of host can't be established
2017-05-23 | #ssh
Lors d’appels de scripts automatisés pour “calculer” ce qui est à mettre en préproduction, j’ai souvent des “The authenticity of host can’t be established”. Peut-être parce que la machine est puppétisée… Soit il faut répondre manuellement, soit il faut éviter d’avoir le prompt… Pour éviter d’avoir à répondre, on peut ajouter l’option “-o StrictHostKeyChecking=no” à ses commandes SSH. $ ssh user@host.example.com Pseudo-terminal will not be allocated because stdin is not a terminal.