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
This commit is contained in:
Victor Westerlund 2025-03-13 10:19:15 +00:00
parent 8e670ba64a
commit 2281e92464
2 changed files with 6 additions and 0 deletions

2
.gitignore vendored
View file

@ -1,11 +1,13 @@
**
!.config/
!.local/
!.ssh/
# Include configs
!.nanorc
!.tmux.conf
!.gitconfig
!.ssh/config
!.config/git/
!.config/git/**
!.bash_aliases

4
.ssh/config Normal file
View file

@ -0,0 +1,4 @@
Host local.vlw.se
Port 2222
StrictHostKeyChecking no
UserKnownHostsFile /dev/null