From 594649b837d41fb2b043fa63d4292c6067c9ea09 Mon Sep 17 00:00:00 2001 From: benoit Date: Fri, 17 Jul 2020 03:06:32 +0000 Subject: [PATCH] SSH into a machine without checking host key. Useful when servers are in a rescue mode. --- SysadminTips.page | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/SysadminTips.page b/SysadminTips.page index f360b29..8780b97 100644 --- a/SysadminTips.page +++ b/SysadminTips.page @@ -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. ~~~