fix ssh config case

This commit is contained in:
Gabriel Augendre 2024-10-16 12:51:13 +02:00
parent b12ca84788
commit 3ccc2b277d

View file

@ -2,10 +2,10 @@ Include work.config
# Home # Home
Host ubuntu Host ubuntu
hostname 192.168.0.6 Hostname 192.168.0.6
user gaugendre User gaugendre
ForwardAgent yes ForwardAgent yes
port 38303 Port 38303
ControlMaster auto ControlMaster auto
ControlPath ~/.ssh/control-%C ControlPath ~/.ssh/control-%C
ControlPersist 4h ControlPersist 4h
@ -13,32 +13,32 @@ Host ubuntu
RemoteCommand tmux -CC new -A -s tmssh RemoteCommand tmux -CC new -A -s tmssh
Host hass Host hass
hostname 192.168.0.9 Hostname 192.168.0.9
user hassio User hassio
port 32690 Port 32690
Host robospierre Host robospierre
hostname 192.168.0.97 Hostname 192.168.0.97
user root User root
Host raspiwifi display hass-display Host raspiwifi display hass-display
hostname 192.168.0.7 Hostname 192.168.0.7
user pi User pi
port 8121 Port 8121
#Host raspi #Host raspi
# hostname 192.168.0.8 # Hostname 192.168.0.8
# user pi # User pi
# port 8121 # Port 8121
Host octopi printer Host octopi printer
hostname 192.168.0.10 Hostname 192.168.0.10
user gaugendre User gaugendre
ForwardAgent yes ForwardAgent yes
Host hyperhdr Host hyperhdr
hostname hyperhdr.local Hostname hyperhdr.local
user pi User pi
Host * Host *
AddKeysToAgent yes AddKeysToAgent yes
@ -46,6 +46,6 @@ Host *
UseKeychain yes UseKeychain yes
{{- end }} {{- end }}
SendEnv LANG SendEnv LANG
port 22 Port 22
XAuthLocation /opt/X11/bin/xauth XAuthLocation /opt/X11/bin/xauth