diff --git a/.gitignore b/.gitignore index 53120a7..9d2f977 100644 --- a/.gitignore +++ b/.gitignore @@ -7,6 +7,8 @@ Brewfile.lock.json config/fzf config/cheat/cheatsheets/pure-bash-bible/* config/cheat/cheatsheets/tldr/* +ssh/local.d/* +!ssh/local.d/.gitkeep !.gitkeep .env diff --git a/ssh/config b/ssh/config index 3c61cbf..53a97d7 100644 --- a/ssh/config +++ b/ssh/config @@ -1,10 +1,5 @@ -Host github.com - User git - -Host lakka - User viir - HostName lakka.kapsi.fi - IdentityFile ~/.ssh/id_rsa +Include shared.d/* +Include local.d/* Host * # IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock" diff --git a/ssh/local.d/.gitkeep b/ssh/local.d/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/ssh/shared.d/github b/ssh/shared.d/github new file mode 100644 index 0000000..5796471 --- /dev/null +++ b/ssh/shared.d/github @@ -0,0 +1,3 @@ +Host github.com + User git + diff --git a/ssh/shared.d/lakka b/ssh/shared.d/lakka new file mode 100644 index 0000000..72b35ac --- /dev/null +++ b/ssh/shared.d/lakka @@ -0,0 +1,5 @@ +Host lakka + User viir + HostName lakka.kapsi.fi + IdentityFile ~/.ssh/id_rsa +