Remove existing config to embrace chezmoi, add ssh config but it might not work because it's a symlink
This commit is contained in:
30
private_dot_ssh/symlink_config.tmpl
Normal file
30
private_dot_ssh/symlink_config.tmpl
Normal file
@@ -0,0 +1,30 @@
|
||||
{{- if eq .device "work-laptop" }}
|
||||
/home/jared-kling/Code/dotfiles/.ssh/config
|
||||
{{- end }}
|
||||
|
||||
{{- if not (eq .device "work-laptop") }}
|
||||
Host kling.linode
|
||||
IdentityFile ~/.ssh/suralink_rsa
|
||||
User jared
|
||||
HostName 66.228.42.141
|
||||
|
||||
Host kling.gcloud
|
||||
IdentityFile ~/.ssh/suralink_rsa
|
||||
User jared
|
||||
HostName 34.70.80.218
|
||||
|
||||
Host kling.ocean
|
||||
IdentityFile ~/.ssh/suralink_rsa
|
||||
User jared
|
||||
HostName 104.131.173.22
|
||||
|
||||
Host home.orangepi
|
||||
IdentityFile ~/.ssh/suralink_rsa
|
||||
User jared
|
||||
HostName 192.168.1.14
|
||||
|
||||
Host home.dockerpi
|
||||
IdentityFile ~/.ssh/suralink_rsa
|
||||
User jared
|
||||
HostName 192.168.1.31
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user