Use the Include directive to include an external config file in the main (default) ssh config file. Create another config file as usual.Add the following line at the beginning of your ~/.ssh/config for example, if we have a config file in ~/Documents/.ssh/config add Include ~/Documents/.ssh/config in your main ~/.ssh/config What...
How to find files using Regex (Regular Expressions) in GNU/Linux and MacOs command line and do something.
I needed to find all the files that matched a regular expression. In this case all the files that had either 300x200 or 400x220 and where either png or jpg files. You can do that pretty easily in BASH using find but the more filetypes and conditions the longer the...
How to access Jupyter Notebooks running in your local server with ngrok (and an intro to GNU Screen)
After I had access to my Ubuntu Server through SSH, the next logical step (at least for me) was to enable Jupyter Notebooks running inside TORUS (Docker) to be reachable from a remote browser. That way I’m able to run python code on the server while using my browser as...
How to create a SSH Tunnel with ngrok on Ubuntu Server (aka ssh access to your local server in local network with dynamic ip)
I have a server at home running Ubuntu 18.04 LTS (normal local network, behind a router with firewall activated, no DMZ) and I wanted to be able to access it though ssh. You can think of it as a TeamViewer alternative for port redirection. What’s SSH? Secure Shell (SSH) is...
How to prepare Ubuntu for Data Science: Torus, Cookiecutter and Docker in Ubuntu Server LTS 18.04
I installed everything on my Mac, and doing it all over again made no sense. I also tried Anaconda (also a great tool to start but you still have to install several packages on every new install). Then I found Torus: A Toolkit For Docker-First Data Science. In their words:...