Branch:
ssh
Fenrir ID:ssh
Points:45
Your solution must be located at ssh:
[folder] ...
├─ [folder] ssh
│ ├─ [file code] setup.sh
│ ├─ [file code] part-1.sh
│ ├─ [file code] part-2.sh
│ └─ [file lines] config
└─ [folder] .gitCreate a script setup.sh which configures an ssh-connection using an ssh-key.
Server credentials:
url=server
user=fikus
password=breachThe host system has these commands & packages installed:
-
openssh-client -
sshpass
To test the connection, create a script part-1.sh that executes a script named run.me located in ~/cacti on the server.
|
Warning
|
Do the previous part before! |
The server’s credentials are the same. Create a script part-2.sh which:
-
Copies the file
~/from/email.addrfrom the server. The destination path is~/to/addr.email -
Copies the directory
~/from/emails.dto the server. The destination path is~/to/addrs
There are three servers (each responsible for its country’s domain):
-
deutschland -
oesterreich -
schweiz
Create a file config which configures the ssh client so that it redirects any domains from those countries to the correct server. E.g. gitlab.de must be forwarded to the deutschland server.
Each server has its own ssh keypair:
-
deutschland→allemand -
oesterreich→autriche -
schweiz→suisse
The project is licensed under the terms of the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
© 2026-present Iwan Kalinin <koefic.cien@gmail.com>