Latest articles

Reducing PDF filesize with the Command Line using Ghostscript (gs)

Wednesday, April 13, 2022

I use the following command line to reduce the PDF filesize:

gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/screen -dNOPAUSE -dQUIET -dBATCH -sOutputFile=output.pdf input.pdf

This command line can be used to reduce the PDF filesize on Linux.

Emacs #filename# ???

Friday, December 25, 2020

Sometimes Emacs saves a file under #filename# instead of filename. That's because of auto-save. To disable this behavior while keeping the benefit of auto-save enable auto-save-visited-mode.

How to check ssh public key fingerprints?

Thursday, February 15, 2018

The authenticity of host omecha.info (89.234.176.136)' can't be established.
ECDSA key fingerprint is SHA256:v7u4albDUtGH1EXWEwlt0KnzY9GDY5EqodUymKSbiSw
Are you sure you want to continue connecting (yes/no)? 

If you have ever used SSH, you have encountered this prompt. If you often SSH to new machines and you are like me, you probably type 'yes' without thinking about it.

In this article I describe how you can check your SSH fingerprints.

SSH escape commands for fun and profit

Wednesday, June 21, 2017

We can never say it enough, but OpenSSH is an amazing tool. Lately, I have been playing with VMs and a friend of mine showed me some really cool tricks with SSH. The SSH escape ~ commands!

How to get started in infosec?

Tuesday, May 30, 2017

I am keeping here a a list of all articles I find on "getting started in infosec" and try to summarize their content in one list. This is not really meant to be public, it is just for me to centralize all this information.