Fix SSH config

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
Yohann D'ANELLO 2021-03-17 23:07:30 +01:00
parent 9b0be73500
commit 7d401e9f00
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85
7 changed files with 23 additions and 7 deletions

View File

@ -21,6 +21,7 @@
- crans - crans
- dptinfo - dptinfo
- perso - perso
- virtu
- name: Include config files - name: Include config files
template: template:

View File

@ -1,3 +1,5 @@
Host *.adm.auro.re {{ ansible_header | comment }}
Host 10.128.0.* *.adm.auro.re
User ynerant User ynerant
ProxyJump camelot.auro.re ProxyJump camelot.auro.re

View File

@ -1,13 +1,10 @@
Host freebox.crans.org titanic.adm.crans.org soyouz.crans.org ssh.crans.org zamok.crans.org zamok.adm.crans.org *.adh.crans.org note*.crans.org {{ ansible_header | comment }}
User ynerant
Host odlyd.crans.org odlyd 10.231.136.4 Host ssh.crans.org zamok.crans.org zamok.adm.crans.org *.adh.crans.org note*.crans.org
User ynerant User ynerant
Hostname 10.231.136.4
ProxyJump zamok.crans.org
Host 172.16.10.* 185.230.79.* *.adm.crans.org *.crans.org Host 172.16.10.* 185.230.79.* *.adm.crans.org *.crans.org
User _ynerant User _ynerant
Host 172.16.10.* *.adm.crans.org *.crans.org ynerant.fr !hodaur.crans.org !odlyd.crans.org !note*.crans.org Host 172.16.10.* *.adm.crans.org
ProxyJump hodaur.crans.org ProxyJump hodaur.crans.org

View File

@ -1,3 +1,5 @@
{{ ansible_header | comment }}
Host *.dptinfo.ens-cachan.fr !ssh.dptinfo.ens-cachan.fr Host *.dptinfo.ens-cachan.fr !ssh.dptinfo.ens-cachan.fr
User danello User danello
ProxyJump ssh.dptinfo.ens-cachan.fr ProxyJump ssh.dptinfo.ens-cachan.fr

View File

@ -1,4 +1,11 @@
{{ ansible_header | comment }}
Host main Host main
User ynerant User ynerant
Hostname ynerant-pc.fil.sand.auro.re Hostname ynerant-pc.fil.sand.auro.re
ProxyJump camelot.auro.re ProxyJump camelot.auro.re
Host laptop
User ynerant
Hostname ynerant-thinkpad.wifi.sand.auro.re
ProxyJump camelot.auro.re

View File

@ -0,0 +1,5 @@
{{ ansible_header | comment }}
Host 172.16.42.*
User root
ProxyJump dt.adh.crans.org

View File

@ -1 +1,3 @@
{{ ansible_header | comment }}
Include ~/.ssh/config.d/* Include ~/.ssh/config.d/*