Git

Git ssh key generate

Posted by Lu's Blog on October 19, 2021

Git ssh key generate in Windows

1
2
3
ssh-keygen -t ed25519 -C "<comment>"
cat ~/.ssh/id_ed25519.pub | clip
貼到ssh key setting的地方

Git ssh key generate in macOS

1
2
3
ssh-keygen -t ed25519 -C "<comment>"
cat ~/.ssh/id_ed25519.pub | pbcopy
貼到ssh key setting的地方