Table of Contents
How to register an observatory to the Bolidozor network
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.
Key pair generation
$ 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+=| +-----------------+ >
- Choose a name for your station “observatory_name”. It must not contain spaces and accented characters and the maximum allowed length is 20 characters.
- Send a file id_rsa.pub via e-mail to:(Martin Kákona) kakl@astro.cz. In the email, specify the station name/names. You can find examples of already established stations here.
- You will be informed of your registration through email - be patient please, as the registrations are still carried out by people.
After the registration you will be able to upload your data to server space.astro.cz.
Remote access to station
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.