Fix SSH config
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
parent
9b0be73500
commit
7d401e9f00
@ -21,6 +21,7 @@
|
|||||||
- crans
|
- crans
|
||||||
- dptinfo
|
- dptinfo
|
||||||
- perso
|
- perso
|
||||||
|
- virtu
|
||||||
|
|
||||||
- name: Include config files
|
- name: Include config files
|
||||||
template:
|
template:
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
5
roles/ssh/templates/config.d/virtu.j2
Normal file
5
roles/ssh/templates/config.d/virtu.j2
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
{{ ansible_header | comment }}
|
||||||
|
|
||||||
|
Host 172.16.42.*
|
||||||
|
User root
|
||||||
|
ProxyJump dt.adh.crans.org
|
@ -1 +1,3 @@
|
|||||||
|
{{ ansible_header | comment }}
|
||||||
|
|
||||||
Include ~/.ssh/config.d/*
|
Include ~/.ssh/config.d/*
|
||||||
|
Loading…
Reference in New Issue
Block a user