Compare commits

...

2 commits

Author SHA1 Message Date
3b7e9a4794 update ssh config 2024-10-16 12:52:48 +02:00
3ccc2b277d fix ssh config case 2024-10-16 12:51:13 +02:00

View file

@ -2,43 +2,36 @@ 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
ControlMaster auto ControlMaster auto
ControlPath ~/.ssh/control-%C ControlPath ~/.ssh/control-%C
ControlPersist 4h ControlPersist 4h
RequestTTY yes RequestTTY yes
RemoteCommand tmux -CC new -A -s tmssh RemoteCommand tmux -CC new -A -s tmssh
Host ubuntu-no-tmux
Hostname 192.168.0.6
User gaugendre
ForwardAgent yes
ControlMaster auto
ControlPath ~/.ssh/control-%C
ControlPersist 4h
RequestTTY yes
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
hostname 192.168.0.7
user pi
port 8121
#Host raspi
# hostname 192.168.0.8
# user pi
# port 8121
Host octopi printer
hostname 192.168.0.10
user gaugendre
ForwardAgent yes
Host hyperhdr Host hyperhdr
hostname hyperhdr.local Hostname hyperhdr.local
user pi User pi
Host * Host *
AddKeysToAgent yes AddKeysToAgent yes
@ -46,6 +39,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