From: Christian Pointner Date: Fri, 31 Mar 2017 23:22:10 +0000 (+0200) Subject: added ssh config and some more hosts X-Git-Url: https://git.realraum.at/?p=noc.git;a=commitdiff_plain;h=571c2dd97b2fd751151e764e4b8dee9bb1fba29f added ssh config and some more hosts --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ae5eabf --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/log +/*.retry diff --git a/ansible.cfg b/ansible.cfg index 09bd8fe..6074061 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -10,4 +10,4 @@ var_compression_level = 9 [ssh_connection] pipelining = True -ssh_args = -C -o ControlMaster=auto -o ControlPersist=60s +ssh_args = -C -o ControlMaster=auto -o ControlPersist=60s -F ssh-config diff --git a/hosts b/hosts index 2f4919d..d5bfc2f 100644 --- a/hosts +++ b/hosts @@ -22,3 +22,12 @@ virtualservers [desktops] wuerfel + + +[alix] +gw +torwaechter + +[apu] +gnocchi1 +gnocchi2 diff --git a/log b/log deleted file mode 100644 index cd521ee..0000000 --- a/log +++ /dev/null @@ -1 +0,0 @@ -2017-03-31 04:46:19,866 p=15260 u=equinox | ERROR! Missing target hosts diff --git a/ssh-config b/ssh-config new file mode 100644 index 0000000..f0d30e2 --- /dev/null +++ b/ssh-config @@ -0,0 +1,94 @@ +Ciphers aes256-ctr,aes128-ctr,aes256-gcm@openssh.com,aes128-gcm@openssh.com,chacha20-poly1305@openssh.com,aes256-cbc,aes128-cbc +Macs hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-ripemd160-etm@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-ripemd160 + +Host * + IdentityFile ~/.ssh/id_r3_rsa + IdentitiesOnly yes + PasswordAuthentication no + +Host gw + Hostname gw.realraum.at + Port 22000 + +Host gnocchi1 + Hostname gnocchi1.realraum.at + +Host gnocchi2 + Hostname gnocchi2.realraum.at + +Host torwaechter + Hostname torwaechter.mgmt.realraum.at + User realraum + Port 22000 + +Host tuer + Hostname torwaechter.mgmt.realraum.at + Port 22000 + User tuerctl + +Host licht + Hostname licht.realraum.at + Port 22000 + User realraum + +Host ap + Hostname ap.mgmt.realraum.at + Port 22000 + User root + +Host ap5 + Hostname ap5.mgmt.realraum.at + Port 22000 + User root + +Host alfred + Hostname alfred.mgmt.realraum.at + Port 22000 + +Host ipa + Hostname ipa.mgmt.realraum.at + Port 22000 + +Host tickets + Hostname tickets.mgmt.realraum.at + Port 22000 + +Host home + Hostname r3home.mgmt.realraum.at + Port 22000 + +Host hacksch + Hostname hacksch.mgmt.realraum.at + Port 22000 + +Host entrance + Hostname entrance.mgmt.realraum.at + Port 22000 + +Host ctf + Hostname ctf.realraum.at + Port 22000 + +Host cal + Hostname calendar.mgmt.realraum.at + Port 22000 + +Host tools + Hostname tools.realraum.at + Port 22000 + +Host galley + Hostname galley.mgmt.realraum.at + Port 22000 + +Host athsdisc + Hostname athsdisc.realraum.at + Port 22000 + +Host wuerfel + Hostname wuerfel.realraum.at + Port 22000 + +Host vex + HostName vex.realraum.at + Port 2342