Skip to content
Bill Quith edited this page Jul 10, 2021 · 3 revisions

Generating keys

Cygwin & Github

Using Git BASH or Cygwin.

mkdir ~/.ssh
ssh-keygen -t ed25519 -C "your_email@example.com"

In Cygwin ~/.ssh/config. Note we are referencing the private key here. The public one is registered in user settings in Github.

Host github.com
 User git
 Hostname ssh.github.com
 PreferredAuthentications publickey
 IdentityFile ~/.ssh/id_ed25519
 Port 443

Clone this wiki locally