Linux - Press Ctrl+Alt+T or search for “terminal. " Mac - You can find the Terminal program in the Utilities folder. Windows - You can download Cygwin from cygwin. com, or GitBash from git-scm. com/downloads.
In your terminal program, type ssh username@hostname to log in. Enter your password if prompted. [1] X Research source
ssh-keygen -t rsa -b 4096 -C “email@example. com” An SSH key is a encrypted key pair that authenticates your identity. In this case, you’ll be assigning the key to your GitHub repository, allowing it to identify your server.
You’ll be prompted to confirm the passphrase when creating it.
Linux - xclip -sel clip < ~/. ssh/id_rsa. pub. You may need to run sudo apt-get install xclip first. Windows - clip < ~/. ssh/id_rsa. pub Mac - pbcopy < ~/. ssh/id_rsa. pub
If you want the server to have write access to the repository, check the “Allow write access” box.
You can create a new user by clicking the “Sign up” button on the GitHub homepage and following the prompts.