THISHOST=$(hostname) DISTRO=$(cat /etc/*-release | grep -w ID | cut -d= -f2 | tr -d '"') ssh-keygen -t ed25519 -C "martin@caliban.io" cp $HOME/.ssh/id_ed25519.pub ./${THISHOST}.${DISTRO}.id_ed25519.pub