dotfiles/private_dot_ssh/config.tmpl

54 lines
912 B
Cheetah
Raw Normal View History

2022-08-05 16:47:37 +02:00
# Home
Host ubuntu
hostname 192.168.0.6
user gaugendre
ForwardAgent yes
port 38303
ControlMaster auto
ControlPath ~/.ssh/control-%C
ControlPersist 4h
Host hass
hostname 192.168.0.9
user root
port 32690
Host robospierre
hostname 192.168.0.97
user root
2023-01-08 19:14:04 +01:00
Host raspiwifi display hass-display
2022-08-05 16:47:37 +02:00
hostname 192.168.0.7
user pi
port 8121
2023-01-08 19:14:04 +01:00
#Host raspi
# hostname 192.168.0.8
# user pi
# port 8121
2022-08-05 16:47:37 +02:00
Host octopi
hostname 192.168.0.10
user pi
Host hyperhdr
hostname hyperhdr.local
user pi
2023-02-04 16:38:07 +01:00
{{- if hasKey . "proxy" }}
Host github.com
2023-02-02 12:21:50 +01:00
Hostname ssh.github.com
Port 443
User git
ProxyCommand nc -X connect -x {{ .proxy.address }}:{{ .proxy.port }} %h %p
2023-02-04 16:38:07 +01:00
{{- end }}
2023-02-02 12:21:50 +01:00
2022-08-05 16:42:01 +02:00
Host *
AddKeysToAgent yes
2023-02-04 16:38:07 +01:00
{{- if eq .chezmoi.os "darwin" }}
2022-08-05 16:42:01 +02:00
UseKeychain yes
2023-02-04 16:38:07 +01:00
{{- end }}
2022-08-05 16:47:37 +02:00
SendEnv LANG
2022-08-05 16:42:01 +02:00
port 22
2022-08-05 16:47:37 +02:00
XAuthLocation /opt/X11/bin/xauth