I'm n1 - I read, write and code.

Snippets

Bash

OpenSSL

SSH

SSH cheatsheet

Tunneling

Tunnel localhost port 3307 to remote server port 3306
$ ssh -L 3307:localhost:3306 remote-server
Tunnel remote server port 1222 to localhost port 1223
$ ssh -R 1222:localhost:1223 remote-server