Category Archives: Tips & Tricks

Adding Anchor Tags to Subheadlines in WordPress

If you want to have clickable subheadlines with auto scroll function on your WordPress blog you could do following. There are some plugins doing the same and much more but I thought they are kinda oversized. The little piece of code below does the trick. In admin panel go to Appearance > Editor > Theme […]


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 […]


Enable Root Access in WinSCP

To enable root access to some server do following steps on this server: # nano /etc/ssh/sshd_config Uncomment line permitRootLogin without-password and save file # service ssh restart Eventually set new password for root user: # passwd root


Connect to svn+ssh with TortoiseSVN

TortoiseSVN is supporting SSH authentication via Putty’s Pageant. Thus: Start Pageant Add key (.ppk file, e. g. generated from OpenSSH key) (Minimize Pageant) Start TortoiseSVN, e. g. Repo-browser Type in URL, e. g. svn+ssh://user@server/path/to/svn. Important: set user in URL (user@) Connection should work