User Tools

Site Tools


pages:howtos:ssh:generate-ssh-key

Table of Contents

Generate 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~~

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
pages/howtos/ssh/generate-ssh-key.txt · Last modified: 2023/07/31 10:11 by Heiko Mischer