Observatory is a place where multiple measurement stations or project can be situated. The typical example of that place is an astronomical observatory.
Stations send files containing measured data to the server space.astro.cz through SCP protocol. At first, a station has to generate a key pair (if it has not done it already), that will be used for station authentication when communicating with server.
$ ssh-keygen -t rsa -C "observatory_name" Generating public/private rsa key pair. Enter file in which to save the key (/home/kakl/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/kakl/.ssh/id_rsa. Your public key has been saved in /home/kakl/.ssh/id_rsa.pub. The key fingerprint is: 76:e7:3f:ea:f5:aa:37:90:d3:65:b9:d1:af:fd:53:35 kakl@kaklTP The key's randomart image is: +--[ RSA 2048]----+ | | | | | o| | E=| | S . .o o*| | . . o+ ..o| | .o.o.| | o=o.| | .++o+=| +-----------------+ >
After the registration you will be able to upload your data to server space.astro.cz.
In case, there will be a service intervention necessary, it is helpful to activate a reverse ssh tunnel, which can provide a remote access to station.
This can be done by running the following commands:
wget http://space.astro.cz/bolidozor/support/scripts/setup_reverse_tunnel.sh chmod +x ./setup_reverse_tunnel.sh sudo ./setup_reverse_tunnel.sh
The script lists the parameters set - e.g.
Host radio-test.tunnel Port 4958 HostName space.astro.cz User testak1
These have to be copied and sent to the same address as in case of station’s registration.