dotfiles/script/gensshkey

7 lines
202 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
#
# Generate a new SSH keypair.
# https://medium.com/risan/upgrade-your-ssh-key-to-ed25519-c6e8d60d3c54
ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "rob@$(hostname -s)"