Add ssh config

This commit is contained in:
Corrado Primier 2021-10-24 20:16:55 +01:00
parent a8dafc0d0d
commit c8c9e20d31
2 changed files with 86 additions and 0 deletions

84
private_dot_ssh/config Normal file
View File

@ -0,0 +1,84 @@
AddressFamily inet
ServerAliveInterval 120
Host * !*.home
ControlMaster auto
ControlPath ~/.ssh/socket-%r@%h:%p
Compression yes
# This is only for git repo access
Match Originalhost git.corradoprimier.it Exec "dig +short git.corradoprimier.it | grep '^192\.168\.0\.50$'"
Hostname 192.168.20.6
ProxyJump jump@jump.home
Host git.corradoprimier.it
User git
IdentityFile /home/bardo/.ssh/id_ed25519
# This is for ssh access to the host from the home network
Host git.home
Hostname 192.168.20.6
User root
ProxyJump jump@jump.home
Host github.com
User git
IdentityFile ~/.ssh/id_ed25519
Host tenar
Hostname vps239653.ovh.net
User bardo
IdentityFile ~/.ssh/id_ed25519
Host jump.home
Hostname 192.168.0.50
Port 4222
User root
IdentityFile ~/.ssh/id_ed25519
Host random.home
Hostname 192.168.0.217
User root
IdentityFile ~/.ssh/id_ed25519
Host reverse.home
Hostname 192.168.10.2
User root
ProxyJump jump@jump.home
Host router.home
Hostname 192.168.20.1
User root
ProxyJump jump@jump.home
Host hi-z.home
Hostname 192.168.20.2
User root
IdentityFile ~/.ssh/id_ed25519
ProxyJump jump@jump.home
Host nuvola.home
Hostname 192.168.20.4
User root
ProxyJump jump@jump.home
Host play.home
Hostname 192.168.20.7
User root
ProxyJump jump@jump.home
Host web-my.home
Hostname 192.168.20.8
User root
ProxyJump jump@jump.home
Host decodificador-dev.home
Hostname 192.168.20.9
User root
ProxyJump jump@jump.home
Host docs.home
Hostname 192.168.20.10
User root
ProxyJump jump@jump.home
Host assistant.home
User root

View File

@ -0,0 +1,2 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBGLwb+TqeFdvSkcPG2Cis45UJtH6uhyvPQMPjnlgaQg bardo@ged
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCwy5sGPb14WsbVbkDZTist7KZqSOdLKYlnem0m2zhx1m8DKgig4CmSnbv2ijryFkZsyqJEjA/L7AlnT7OGfQ4AVRJFUxmkzGnl4Ay5sCdjm89IygUx10/lXA6mDB3Z5+5iESow21oyPOzQfSQyIVeA3zQuuwTS3uFnVIJg3isFFLcFOTGDIuD9WWt1z3OQ6+310wKJ0lz/2MRkh9LFmTZmWktaBpryf9NCUcabiQYaSLFCBd0OUifBicQ+731fdr1XVMVFLuYIrLhwkJm7p6DHCagDhpUHRYk2Hck6RF3gNX6N0GTzCIxs5i+xrhOuCMeDfHtDMSgzBlOZjp6QGyk7vWWG+97Vf1l3e66rxwwcWP7W54ePaG5rqd9nKA0eYPbm6mDlsaKRcbxZ0j4SOcKrgbjfCblGa2Oz3MQIpRe0Fh7h5yfyUBpJlyk+JlDPX+IiJhaZZErZqIv3h2E9DniXKLXemp5nL/uHfr7BBfBc3Jo0oVo5WRzmN3Ac4SrbrSN9xJ4qPk1xmd6Y2sxayKk6cQjHmdq3lwuYANUItkbVdP8qSgdCR/q3JIckWfGNJFC5eGjE6T/S0nd7vCEapjFzrDe/7d/iWW+Gpr9cFpJyPDQ0HhRuBZoLiAh7PePfbsmJwg0oa1j7K0KyJ68bwLXkkJav1ZXEiClIQ5PpeEyEgw== bardo@ged