# Generiert mit Hilfe von Ansible am 2022-09-24 - diese Datei nicht manuell bearbeiten! # Clientkonfigurationsbeispiel für unterschiedliche Zielsysteme ## statische Konfiguration # localhost Host localhost Hostname 127.0.0.1 IdentityFile ~/.ssh/id_intra # externer Einwahl-Hosts Host example Hostname 93.184.216.34 Port 12345 Protocol 2 ForwardX11 yes ForwardAgent yes IdentityFile ~/.ssh/id_example ## dynamisch aus dem Inventory generierte Konfiguration # interne Systeme - IDMZ Host vml030010 Hostname 10.30.30.10 User django Port 22 Protocol 2 IdentityFile ~/.ssh/id_idmz Host fw1 Hostname 10.30.30.10 User django Port 22 Protocol 2 IdentityFile ~/.ssh/id_idmz Host vml030020 Hostname 10.30.30.20 User django Port 22 Protocol 2 IdentityFile ~/.ssh/id_idmz Host fw2 Hostname 10.30.30.2 User django Port 22 Protocol 2 IdentityFile ~/.ssh/id_idmz Host vml030030 Hostname 10.30.30.30 User django Port 22 Protocol 2 IdentityFile ~/.ssh/id_idmz Host Hostname 10.30.30.30 User django Port 22 Protocol 2 IdentityFile ~/.ssh/id_idmz ... ... Host vml030250 Hostname 10.30.30.250 User django Port 22 Protocol 2 IdentityFile ~/.ssh/id_idmz Host db_clusternode_3 Hostname 10.30.30.250 User django Port 22 Protocol 2 IdentityFile ~/.ssh/id_idmz # interne Systeme - Intranet Host pml010002 Hostname 10.10.10.2 User django Port 22 Protocol 2 IdentityFile ~/.ssh/id_intra Host kvm_1 Hostname 10.10.10.2 User django Port 22 Protocol 2 IdentityFile ~/.ssh/id_intra ... ... Host pml010126 Hostname 10.10.10.126 User django Port 22 Protocol 2 IdentityFile ~/.ssh/id_intra Host feinstaubsensor Hostname 10.10.10.126 User django Port 22 Protocol 2 IdentityFile ~/.ssh/id_intra # externe System Host ff_pliening_gbw__ug_ Hostname [2001:678:e68:102:32b5:c2ff:fe56:62b1] User root Port 22 Protocol 2 IdentityFile ~/.ssh/id_freifunk ProxyCommand ssh -q -W %h:%p vml070010 Host ff_pliening_gbw__ug_-extern Hostname 2001:678:e68:102:32b5:c2ff:fe56:62b1 User root Port 22 Protocol 2 IdentityFile ~/.ssh/id_freifunk ... ... Host ff_roding_fwg_nausch Hostname [2001:678:e68:109:8e3b:adff:feeb:f2a6] User root Port 22 Protocol 2 IdentityFile ~/.ssh/id_freifunk ProxyCommand ssh -q -W %h:%p vml070010 Host ff_roding_fwg_nausch-extern Hostname 2001:678:e68:109:8e3b:adff:feeb:f2a6 User root Port 22 Protocol 2 IdentityFile ~/.ssh/id_freifunk