-
Notifications
You must be signed in to change notification settings - Fork 12
Windows SSH Setup
Note: SSH key will be without the passphrase. If this is a security issue for you, please look for another guide.
-
Download and install Git.
-
Right click inside any folder and launch Git Bash
-
(Git Bash) Type
ssh-keygen -t ed25519 -C "your_email@example.com"
-
When you're prompted
Enter a file in which to save the key (/c/Users/you/.ssh/id_ed25519):
press Enter.This accepts the default file location.
-
When you're prompted
Enter passphrase (empty for no passphrase):
andEnter same passphrase again:
- don't type anything, just press Enter.This password less approach is crucial for hassle free SSH connection.
-
(Git Bash) Type
clip < ~/.ssh/id_ed25519.pub
This copies the contents of the key to your clipboard.
-
Navigate to your Github Account>Settings>SSH and GPG keys.
-
Click New SSH key.
In the "Title" field, add a descriptive label for the new key.
Paste your key into the "Key" field.
-
Click Add SSH key.
-
If prompted, confirm your GitHub password.
-
(Git Bash) Type
ssh -T git@github.com
You may see a warning like this:
> The authenticity of host 'github.com (IP ADDRESS)' can't be established. > RSA key fingerprint is SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8. > Are you sure you want to continue connecting (yes/no)?
-
Type
yes
and press Enter -
Verify that the resulting message contains your username.
> Hi username! You've successfully authenticated, but GitHub does not > provide shell access.
Reliable and high-quality Unity Development service. Let's Talk!
Website | AssetStore | LinkedIn | Youtube | Scripting Reference