From eed04e8ef91066514f54937fcaa14a92a6085c26 Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Thu, 19 Sep 2024 20:12:02 -0500 Subject: [PATCH] Update ssh.sh --- core/tabs/utils/ssh.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/tabs/utils/ssh.sh b/core/tabs/utils/ssh.sh index 6fbe0128b..a1f96e598 100644 --- a/core/tabs/utils/ssh.sh +++ b/core/tabs/utils/ssh.sh @@ -27,6 +27,9 @@ ask_for_host_details() { printf "%b\n" "Host $host_alias" printf "%b\n" " HostName $host" printf "%b\n" " User $user" + printf "%b\n" " IdentityFile ~/.ssh/id_rsa" + printf "%b\n" " StrictHostKeyChecking no" + printf "%b\n" " UserKnownHostsFile=/dev/null" } >> ~/.ssh/config printf "%b\n" "Host $host_alias added successfully." } @@ -246,4 +249,4 @@ done checkEnv checkEscalationTool -main \ No newline at end of file +main