SSH into a machine without checking host key. Useful when servers are in a rescue mode.

This commit is contained in:
benoit 2020-07-17 03:06:32 +00:00
parent 5cb5823e4c
commit 594649b837

View file

@ -1,3 +1,9 @@
SSH into a machine without checking host key. Useful when servers are in a rescue mode.
~~~
ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" -o "GlobalKnownHostsFile=/dev/null
~~~
Certbot manual example.
~~~