Tag Archives: git

Connect to Server via SSH with Git

Given: an Ubuntu server with central Git repository and connection via SSH and an Ubuntu client with local Git repository. Deposit user’s SSH private key id_rsa in ~/.ssh (aka /home/user/.ssh) chmod 0600 ~/.ssh/id_rsa to prevent other users reading user’s private key If you also want to use Git with root user: cp /home/user/.ssh/id_rsa /root/.ssh/ Connect […]


Docker Cheat Sheet

Preamble Data directory of my Docker services is /var/docker/. It’s also root directory for all following commands I’m using service as a generic term for image and container doco is an abbreviation for docker-compose (see installation guide below) I’m using Git for versioning of Dockerfiles Basic commands Show status of containers docker ps -a Start […]