ajout d'options intéressantes relevées par Jérémy
This commit is contained in:
parent
af6c2131ec
commit
5cb4f2556a
|
@ -659,10 +659,17 @@ Someone could be eavesdropping on you right now (man-in-the-middle attack)!
|
||||||
It is also possible that a host key has just been changed.
|
It is also possible that a host key has just been changed.
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
Si besoin, on peut supprimer la ligne concernée dans `~/.ssh/known_hosts` via la commande :
|
On peut accepter automatiquement la clé à la première connexion ainsi :
|
||||||
|
|
||||||
|
~~~
|
||||||
|
$ ssh -o "StrictHostKeyChecking=accept-new" ssh.example.com
|
||||||
|
~~~
|
||||||
|
|
||||||
|
Si besoin, on peut supprimer la ligne concernée dans `~/.ssh/known_hosts` via une commande du type :
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
$ ssh-keygen -f "~/.ssh/known_hosts" -R ssh.example.com
|
$ ssh-keygen -f "~/.ssh/known_hosts" -R ssh.example.com
|
||||||
|
$ ssh-keygen -f "~/.ssh/known_hosts" -R [ssh.example.com]:2222
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
On peut également désactiver cette vérification en utilisant un fichier alternatif :
|
On peut également désactiver cette vérification en utilisant un fichier alternatif :
|
||||||
|
|
Loading…
Reference in a new issue