Added ssh config template with macOS specifics

This commit is contained in:
Eric Renfro 2020-11-16 00:30:26 -05:00
parent 3d6f41308c
commit 6edb7bf6f3
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF

View file

@ -0,0 +1,188 @@
ControlMaster auto
ControlPath ~/.ssh/controlmasters/%r@%h:%p
CanonicalizeHostname yes
CanonicalDomains home.ld linux-help.org
CanonicalizeMaxDots 1
CanonicalizeFallbackLocal yes
GSSAPIAuthentication no
GSSAPIDelegateCredentials no
Host ceweb
Hostname jand.dyndns.biz
Port 22
user mykael
Host cewebproxy
Hostname jand.dyndns.biz
Port 22
user mykael
DynamicForward 5534
Host cebackdoor
Hostname jand.dyndns.biz
Port 2022
user mykael
Host cerobust1
Hostname robust1
user mykael
ProxyJump ceweb
Host cerobust2
Hostname 192.168.1.52
user mykael
ProxyJump ceweb
Host ceregions1
Hostname regions1
user mykael
ProxyJump ceweb
Host ceregions2
Hostname regions2
user mykael
ProxyJump ceweb
Host ceregions3
Hostname regions3
user mykael
ProxyJump ceweb
Host ceregions4
Hostname regions4
user mykael
ProxyJump ceweb
#Host cegrid
# Hostname jand.dyndns.biz
# Port 23
# User mykael
Host package-repo
Hostname bastion.home.ld
IdentitiesOnly yes
IdentityFile ~/.ssh/manual/id_repo
Host mega-backups
Hostname mega.home.ld
IdentitiesOnly yes
IdentityFile ~/.ssh/manual/id_backups
Host github.com github.com.linux-help.org
HostName github.com
User git
IdentityFile ~/.ssh/id_ed25519
IdentitiesOnly yes
Host bbs.home.ld bbs
User bbs
Host bbs-old.home.ld bbs-old
User bbs
Port 2222
Host dheaven
Hostname bbs.home.ld
User !Psi-Jack
Port 2222
PasswordAuthentication yes
Ciphers aes128-cbc
#Host 172.17.10.80 work
# HostName 172.17.10.80
# user erenfro
# CompressionLevel 8
# Cipher blowfish
# ForwardX11Trusted yes
# ForwardAgent yes
#Host aws1
# User root
# IdentityFile ~/.ssh/aws_rsa
# Hostname 54.243.188.148
# #Hostname ec2-54-242-113-60.compute-1.amazonaws.com
Host hub
User bbs
#Hostname hub.deckersheaven.com
Host do1
User root
Hostname 192.241.250.242
#Host *.mco.ld *.ecp.ld *.phx.ld *.ewr.ld *.bookit.com
# User eric.renfro
# IdentityFile ~/.ssh/work_rsa
#Host 172.16.* 172.19.* 172.20.* 172.21.* 172.22.* 172.23.* 172.24.* 172.25.*
# User eric.renfro
# IdentityFile ~/.ssh/work_rsa
Host router.home.ld router
User psi-jack
Host vmskel
Hostname 172.17.69.69
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
User admin
LogLevel QUIET
#Host gogs2.home.ld
# User psi-jack@linux-help.org
Host mx.linux-help.org web.linux-help.org
KeepAlive yes
User erenfro
ServerAliveInterval 60
ForwardAgent yes
Host 172.17.252.5
User psi-jack
KeepAlive yes
ForwardAgent yes
ForwardX11 no
ForwardX11Trusted no
Host *.home.ld
User psi-jack
KeepAlive yes
ServerAliveInterval 60
ForwardAgent yes
ForwardX11 yes
ForwardX11Trusted yes
GSSAPIAuthentication no
GSSAPIDelegateCredentials no
#Host *.bookit.com *.ism.ld *.ewr.ld *.phx.ld *.ecp.ld 172.26.1.99 172.24.1.99 172.20.1.99
# User eric.renfro
# KeepAlive yes
# ServerAliveInterval 60
# ForwardAgent yes
# ForwardX11 yes
# ForwardX11Trusted yes
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
#Host gleim
# User earenfro
# Port 224
# DynamicForward 4080
# Hostname dev.teamgleim.com
# ForwardAgent yes
# ForwardX11 no
#
#Host *.teamgleim.com
# User earenfro
# Port 224
# ServerAliveInterval 60
# ForwardAgent yes
# ForwardX11 no
Host *
#User psi-jack
KeepAlive yes
{% if yadm.os == "Darwin" %}
UseKeyChain yes
{% endif %}
ServerAliveInterval 60
ForwardAgent yes
ForwardX11 yes
ForwardX11Trusted yes
GSSAPIAuthentication no
GSSAPIDelegateCredentials no