rogerxu / git-tips

Tips for Git
Apache License 2.0
2 stars 3 forks source link

SSH Key #42

Open rogerxu opened 2 years ago

rogerxu commented 2 years ago

Generating a new SSH key and adding it to the ssh-agent - GitHub Docs

rogerxu commented 2 years ago

Generate SSH Key

$ ssh-keygen -t ed25519 -C "username@domain"
rogerxu commented 2 years ago

Copy SSH Key to SSH Server

$ ssh-copy-id username@domain