mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-23 09:56:39 +00:00
feat(config): split ssh configuration by host
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -7,6 +7,8 @@ Brewfile.lock.json
|
|||||||
config/fzf
|
config/fzf
|
||||||
config/cheat/cheatsheets/pure-bash-bible/*
|
config/cheat/cheatsheets/pure-bash-bible/*
|
||||||
config/cheat/cheatsheets/tldr/*
|
config/cheat/cheatsheets/tldr/*
|
||||||
|
ssh/local.d/*
|
||||||
|
!ssh/local.d/.gitkeep
|
||||||
!.gitkeep
|
!.gitkeep
|
||||||
.env
|
.env
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,5 @@
|
|||||||
Host github.com
|
Include shared.d/*
|
||||||
User git
|
Include local.d/*
|
||||||
|
|
||||||
Host lakka
|
|
||||||
User viir
|
|
||||||
HostName lakka.kapsi.fi
|
|
||||||
IdentityFile ~/.ssh/id_rsa
|
|
||||||
|
|
||||||
Host *
|
Host *
|
||||||
# IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
|
# IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
|
||||||
|
|||||||
0
ssh/local.d/.gitkeep
Normal file
0
ssh/local.d/.gitkeep
Normal file
3
ssh/shared.d/github
Normal file
3
ssh/shared.d/github
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
Host github.com
|
||||||
|
User git
|
||||||
|
|
||||||
5
ssh/shared.d/lakka
Normal file
5
ssh/shared.d/lakka
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
Host lakka
|
||||||
|
User viir
|
||||||
|
HostName lakka.kapsi.fi
|
||||||
|
IdentityFile ~/.ssh/id_rsa
|
||||||
|
|
||||||
Reference in New Issue
Block a user