feat: optimize the .ssh/config file

Signed-off-by: Anthony Oteri <4360016+anthonyoteri@users.noreply.github.com>
This commit is contained in:
Anthony Oteri
2025-11-10 09:09:58 -05:00
parent 7ab7172424
commit a918bf5a0c
+29 -46
View File
@@ -1,53 +1,36 @@
Host ol8-dev
HostName ol8-dev
User anthony
Host srv-nebula-master srv-nebula-master.edgeware.tv
User=oneadmin
Compression=yes
Host 10.16.48.100 anthony-acd-router
User root
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null
Compression=yes
ForwardAgent=yes
Host anthony-remote.edgeware.tv
User root
Compression=yes
ForwardAgent=yes
DynamicForward 12345
# Disable strict host key checking for Edgeware hosts
Host 10.16.*.* 10.19.* orbit-* anthony-* *.edgeware.tv
User root
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null
Compression=yes
ForwardAgent=yes
ForwardAgent yes
Compression yes
Host 192.168.11.13, anthony-dev
User root
StrictHostKeyChecking no
UserKnownHostsFile=/dev/null
Compression=yes
ForwardAgent=yes
# Example for non-standard port
Host custom-port-host
HostName custom.example.com
User anthony
Port 2222
ForwardAgent yes
Compression yes
Host convoy
User=edgeware
HostName=convoy.local.oteri.xyz
Host acd-router
User=edgeware
HostName=acd-router.local.oteri.xyz
Host streamer
User=edgeware
HostName=streamer.local.oteri.xyz
Host repackager
User=edgeware
HostName=repackager.local.oteri.xyz
# Specific hosts
Host srv-nebula-master srv-nebula-master.edgeware.tv
User oneadmin
Compression yes
# Production host
Host newenglandsalts.com
User=root
User root
# Global SSH options for productivity
Host *
ForwardAgent yes
AddKeysToAgent yes
ControlMaster auto
ControlPath ~/.ssh/control-%r@%h:%p
ControlPersist 10m
ServerAliveInterval 60
ServerAliveCountMax 3
User root
Compression yes
StrictHostKeyChecking yes