Open a Nextcloud's DB through a ssh connection

The following post explains how to open and connect your Nextcloud’s DB (MariaDB) by a ssh tunnel. Field description: Server side(GNULinux): Nextcloud: running on Docker-compose engine. OS: Debian with Docker compose installed. Database: MariaDB. Localhost side(GNULinux): OS: Fedora. CLient: Dbeader 7.2.5 Further information you can go to my docker compose Statement here. Edit your docker-compose.yml and add the “ports” key into the statement. $ nano docker-compose.yml ports: - 5555:3306 port: 5555 –> Host....

2020-11-23

How to set you SSH key into Gitlab

How to set you SSH key into Gitlab [First you need to had installed Git onto your distro] Go to your terminal and issue the follow command to generate your key: $ssh-keygen Copy your public key from the route: /home/user/.ssh/id_rsa.pub Then go at your gitlab profile https://gitlab.com/profile/keys/ a paste and save. From the terminal test the conection by typing: $ssh -T git@gitlab.com and if everything was fine it has to promt –> Welcome to GitLab, @user_account!...

2019-12-26