Useful commands / snippets, updated from time to time

Generate SSH key

ed25519 is safe algorithm, it is faster than RSA and the keys are super short!

ssh-keygen -a 100 -t ed25519 -C $(whoami)@$(hostname) -f ~/.ssh/klumcz

View docker healthcheck logs:

docker inspect --format "{{json .State.Health }}" <container name> | jq