michael@slashetc:~$

  • Linux socket-to-socket tunnel (MySQL example)

    $ socat "UNIX-LISTEN:/tmp/mysqld.temp.sock,reuseaddr,fork" EXEC:"ssh username@remoteserver.com socat STDIO UNIX-CONNECT:/var/run/mysqld/mysqld.sock"</p> Won't work with password login. You must add your RSA key to the server's authorizedkeys file, or change the ssh command adding the -i option for a custom RSA key: socat "UNIX-LISTEN:/tmp/mysqld.temp.sock,reuseaddr,fork" EXEC:"ssh username@remoteserver.com -i /home/user/rsa-keys/id_rsa socat STDIO UNIX-CONNECT:/var/run/mysqld/mysqld.sock" --- /tmp/mysqld.temp.sock will...

  • Automatically Record/Capture All Users Terminal Sessions Activity In Linux

    Script is a Unix command line utility that records everything you do on your terminal. Read More here.

  • 3 MPD clients for an Armbian music server

    Last month, I described how I'd configured my CuBox-i4Pro computer as a Music Player Daemon (MPD) music server. Now that I've been using it for a little while, I have a brief update about my experience, including my search for an MPD client that lets me enjoy the music on...