pages:howtos:ssh:generate-ssh-key
Table of Contents
Generate SSH Key
How to create a SSH key.
Ed25519
TMPDATE="$( printf '%(%Y%m%d-%H%M%S)T\n' -1 )"; ssh-keygen -a 100 -t ed25519 -f "${HOME}/.ssh/id_ed25519-${USER}-${HOSTNAME:-$(hostname)}-${TMPDATE}" -C "$USER@${HOSTNAME:-$(hostname)}-${TMPDATE}";
RSA
ssh-keygen -t rsa -b 4096 -f ~/.ssh/id_rsa -C "$USER@${HOSTNAME:-$(hostname)}"
~~DISCUSSION~~
pages/howtos/ssh/generate-ssh-key.txt · Last modified: 2023/07/31 10:11 by Heiko Mischer