The following text can be saved as is to your .ssh
directory in a file named config
which enables you to connect to our servers using for example ssh grapex
OPEN TODOs:
With some newer OpenSSH version it was not possible to login into 'sg02'. The following fix solves the issue, just add the following line into ~/.ssh/config:
PubkeyAcceptedKeyTypes +ssh-rsa
if you have the issue that ssh hangs while connecting to corpex machines over wireguard:
ssh -vvv host .... debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
the solution is to find your WAN device (the one that you use to connect to the internet) and get its “mtu” value:
ifconfig wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.178.60 netmask 255.255.255.0 broadcast 192.168.178.255 inet6 fe30::3db0:d350:5e33:3b24 prefixlen 64 scopeid 0x20<link> inet6 2a03:4131:2319:3800:393e:e3fb:b352:37ad prefixlen 64 scopeid 0x0<global> ether 34:f3:9a:a3:23:b2 txqueuelen 1000 (Ethernet) RX packets 18702723 bytes 10397352559 (9.6 GiB) RX errors 0 dropped 482633 overruns 0 frame 0 TX packets 12932568 bytes 6226280735 (5.7 GiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
in this case it would be 1500. now you need to make sure that the mtu of the wireguard device (for me it is “corpex” since my wireguard config is called “corpex.conf”) is lower than that:
sudo ifconfig corpex mtu 1400
for me the 1400 works fine, but you may need to experiment. if you set the number very low (e.g. < 1000), you will produce a lot of network packets, and things will be slow and inefficient, but it should still work.
Compression yes UseRoaming no # # # # # Pstgres Server # # # # Host pg01 HostName 45.157.178.211 User picalike Host pg02 HostName 45.157.176.153 User picalike # # # # # SG Machines # # # # # Host sg01 HostName sg01.picalike.corpex-kunden.de User picalike Host sg02 HostName sg02.picalike.corpex-kunden.de User picalike Host sg03 Hostname sg03.picalike.corpex-kunden.de User picalike # # # # # DEV Machines # # # # # Host dev01 HostName dev01.picalike.corpex-kunden.de User picalike Host dev02 HostName dev02.picalike.corpex-kunden.de User picalike # # # # # Report-Engine # # # # # Host report-engine Hostname report-engine.picalike.corpex-kunden.de User picalike # # # # # GPU MACHINES # # # # # Host grapex HostName grapex.duckdns.org User picalike Port 9999 Host grapu HostName grapu.duckdns.org User picalike Port 9977 Host gpu01 HostName grapu.duckdns.org User picalike Port 9966 Host gpu03 HostName grapu.duckdns.org User picalike Port 5001 Host gpu04 HostName grapu.duckdns.org User picalike Port 9988 # # # # # FRONTENDS # # # # # Host f01 HostName frontend01.picalike.corpex-kunden.de User picalike Host f01hpc HostName frontend01-hpc.picalike.corpex-kunden.de User picalike Host f02hpc HostName frontend02-hpc.picalike.corpex-kunden.de User picalike Host f03hpc HostName frontend03-hpc.picalike.corpex-kunden.de User picalike Host f04hpc HostName frontend04-hpc.picalike.corpex-kunden.de User picalike Host f05hpc HostName frontend05-hpc.picalike.corpex-kunden.de User picalike Host f06hpc HostName frontend06-hpc.picalike.corpex-kunden.de User picalike # # # # # KRAWLA # # # # # Host krawla_prelive Hostname 185.244.195.137 User krawla Host krawla01 Hostname v22018076221270452.supersrv.de User krawla Host krawla02 Hostname v22018056221265869.nicesrv.de User krawla Host krawla03 Hostname v22018076221270937.luckysrv.de User krawla Host krawla04 Hostname v22019016221281034.nicesrv.de User krawla Host krawla05 Hostname v22019036221285514.hotsrv.de User krawla Host krawla06 Hostname v22019036221285513.happysrv.de User krawla # # # # # DATABASES # # # # # Host sandy Hostname sandy.picalike.corpex-kunden.de User picalike Host m01 Hostname mongodb01.live.picalike.corpex-kunden.de User picalike Host m02 Hostname mongodb02.live.picalike.corpex-kunden.de User picalike Host mongo01.osa Hostname mongo01.osa.picalike.corpex-kunden.de User picalike Host solr01 Hostname solr01.picalike.corpex-kunden.de User picalike Host solr02 Hostname solr02.picalike.corpex-kunden.de User picalike # # # # # INDEX # # # # # Host i01hpc Hostname index01-hpc.picalike.corpex-kunden.de User picalike Host i03 Hostname index03.picalike.corpex-kunden.de User picalike Host i04 Hostname index04.picalike.corpex-kunden.de User picalike Host ipre Hostname index-prelive.picalike.corpex-kunden.de User picalike # # # # # Image Cloud # # # # # Host ic00 Hostname image-cloud.picalike.corpex-kunden.de User picalike Host ic01 Hostname v220220762212195282.goodsrv.de User picalike Host ic02 Hostname v220220762212195284.supersrv.de User picalike Host ic03 Hostname v220220762212195283.ultrasrv.de User picalike # # # # # OTHERS # # # # # Host redis01 Hostname redis01.picalike.corpex-kunden.de User picalike Host pci01 HostName pci01.picalike.corpex-kunden.de User picalike Host cloud01 HostName cloud01.picalike.corpex-kunden.de User picalike Host tower01 Hostname tower01.picalike.corpex-kunden.de User picalike Host web01 Hostname web01.picalike.corpex-kunden.de User picalike Host web02 Hostname web02.picalike.corpex-kunden.de User picalike Host worker01 Hostname worker01.picalike.corpex-kunden.de User picalike Host report-db01 Hostname report-db01.picalike.corpex-kunden.de User picalike