mirror of
https://github.com/anthonyoteri/dotfiles.git
synced 2026-06-05 15:46:54 -04:00
feat: optimize the .ssh/config file
Signed-off-by: Anthony Oteri <4360016+anthonyoteri@users.noreply.github.com>
This commit is contained in:
+29
-46
@@ -1,53 +1,36 @@
|
|||||||
Host ol8-dev
|
# Disable strict host key checking for Edgeware hosts
|
||||||
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
|
|
||||||
|
|
||||||
Host 10.16.*.* 10.19.* orbit-* anthony-* *.edgeware.tv
|
Host 10.16.*.* 10.19.* orbit-* anthony-* *.edgeware.tv
|
||||||
User root
|
|
||||||
StrictHostKeyChecking no
|
StrictHostKeyChecking no
|
||||||
UserKnownHostsFile=/dev/null
|
UserKnownHostsFile=/dev/null
|
||||||
Compression=yes
|
ForwardAgent yes
|
||||||
ForwardAgent=yes
|
Compression yes
|
||||||
|
|
||||||
Host 192.168.11.13, anthony-dev
|
# Example for non-standard port
|
||||||
User root
|
Host custom-port-host
|
||||||
StrictHostKeyChecking no
|
HostName custom.example.com
|
||||||
UserKnownHostsFile=/dev/null
|
User anthony
|
||||||
Compression=yes
|
Port 2222
|
||||||
ForwardAgent=yes
|
ForwardAgent yes
|
||||||
|
Compression yes
|
||||||
|
|
||||||
Host convoy
|
# Specific hosts
|
||||||
User=edgeware
|
Host srv-nebula-master srv-nebula-master.edgeware.tv
|
||||||
HostName=convoy.local.oteri.xyz
|
User oneadmin
|
||||||
|
Compression yes
|
||||||
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
|
|
||||||
|
|
||||||
|
# Production host
|
||||||
Host newenglandsalts.com
|
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
|
||||||
Reference in New Issue
Block a user