Skip to content

Commit

Permalink
Update ssh.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisTitusTech authored Sep 20, 2024
1 parent 0ba3833 commit eed04e8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/tabs/utils/ssh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
Expand Down Expand Up @@ -246,4 +249,4 @@ done

checkEnv
checkEscalationTool
main
main

0 comments on commit eed04e8

Please sign in to comment.