dotfiles/private_dot_ssh/config.tmpl

45 lines
781 B
Cheetah
Raw Normal View History

Include host.config
2023-04-23 08:13:52 +02:00
2022-08-05 16:47:37 +02:00
# Home
Host ubuntu
2024-10-16 12:51:13 +02:00
Hostname 192.168.0.6
User gaugendre
2022-08-05 16:47:37 +02:00
ForwardAgent yes
ControlMaster auto
ControlPath ~/.ssh/control-%C
ControlPersist 4h
2024-02-21 20:44:31 +01:00
RequestTTY yes
RemoteCommand tmux -CC new -A -s tmssh
2022-08-05 16:47:37 +02:00
2024-10-16 12:52:48 +02:00
Host ubuntu-no-tmux
Hostname 192.168.0.6
User gaugendre
ForwardAgent yes
ControlMaster auto
ControlPath ~/.ssh/control-%C
ControlPersist 4h
RequestTTY yes
2022-08-05 16:47:37 +02:00
Host hass
2024-10-16 12:51:13 +02:00
Hostname 192.168.0.9
User hassio
Port 32690
2022-08-05 16:47:37 +02:00
Host robospierre
2024-10-16 12:51:13 +02:00
Hostname 192.168.0.97
User root
2022-08-05 16:47:37 +02:00
Host hyperhdr
2024-10-16 12:51:13 +02:00
Hostname hyperhdr.local
User pi
2022-08-05 16:47:37 +02:00
2022-08-05 16:42:01 +02:00
Host *
AddKeysToAgent yes
2024-02-18 15:02:52 +01:00
{{- if eq .chezmoi.os "darwin" }}
2022-08-05 16:42:01 +02:00
UseKeychain yes
2024-02-18 15:02:52 +01:00
{{- end }}
2022-08-05 16:47:37 +02:00
SendEnv LANG
2024-10-16 12:51:13 +02:00
Port 22
2022-08-05 16:47:37 +02:00
XAuthLocation /opt/X11/bin/xauth
2023-11-20 10:08:15 +01:00