From 2281e92464c0892c3f97065cbd3e2eae49d186d5 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Thu, 13 Mar 2025 10:19:15 +0000 Subject: [PATCH] feat(ssh): add ssh config tracking and `known_hosts` exempt for `local.vlw.se:2222` (#13) This PR adds tracking of the `.ssh/config` file which right now only includes an instruction to ignore `known_hosts` checking for any remote on `local.vlw.se:2222` which is the host and port I use to SSH into any local dev environment. Reviewed-on: https://codeberg.org/vlw/dotfiles/pulls/13 --- .gitignore | 2 ++ .ssh/config | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 .ssh/config diff --git a/.gitignore b/.gitignore index 770c184..3bbc85c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,11 +1,13 @@ ** !.config/ !.local/ +!.ssh/ # Include configs !.nanorc !.tmux.conf !.gitconfig +!.ssh/config !.config/git/ !.config/git/** !.bash_aliases diff --git a/.ssh/config b/.ssh/config new file mode 100644 index 0000000..0141fd6 --- /dev/null +++ b/.ssh/config @@ -0,0 +1,4 @@ +Host local.vlw.se + Port 2222 + StrictHostKeyChecking no + UserKnownHostsFile /dev/null