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