Updated SSH (markdown)
parent
99a0c64934
commit
1f545dd406
4
SSH.md
4
SSH.md
|
@ -64,7 +64,7 @@ Windows 10 already comes with a SSH client and has everything you need to SSH in
|
|||
* "I already have a SSH key generated on this machine with OpenSSH from native Windows added to GitHub!"
|
||||
* That's great! Go to the `ssh -T git@github.com` check step and make sure that works. If that doesn't work, follow the "I've never setup" instructions.
|
||||
* "I've never setup and generated a SSH key on this machine with OpenSSH from native Windows and added it to GitHub."
|
||||
1. Run `ssh-keygen -t ed25519 -N='' -f $HOME/.ssh/id_ed25519`
|
||||
1. Run `ssh-keygen -t ed25519 -f $HOME/.ssh/id_ed25519`. When there is a prompt to "`Enter passphrase (empty for no passphrase):`", just press Enter.
|
||||
* This will generate a private key and public key and store them in a ".ssh" folder in your home directory folder on your machine.
|
||||
2. Run `Get-Content $HOME\.ssh\id_ed25519.pub | Set-Clipboard`
|
||||
* This will copy the contents of the file `id_ed25519.pub`, the public key counterpart to the private key generated in the previous step, to your clipboard.
|
||||
|
@ -91,7 +91,7 @@ macOS already comes with a SSH client and has everything you need to SSH into an
|
|||
* "I already have a SSH key generated on this machine with OpenSSH from my Mac added to GitHub!"
|
||||
* That's great! Go to the `ssh -T git@github.com` check step and make sure that works. If that doesn't work, follow the "I've never setup" instructions.
|
||||
* "I've never setup and generated a SSH key on this machine with OpenSSH on this Mac and added it to GitHub."
|
||||
1. Run `ssh-keygen -t ed25519 -N='' -f $HOME/.ssh/id_ed25519`
|
||||
1. Run `ssh-keygen -t ed25519 -f $HOME/.ssh/id_ed25519`. When there is a prompt to "`Enter passphrase (empty for no passphrase):`", just press Enter.
|
||||
* This will generate a private key and public key and store them in a ".ssh" folder in your home directory folder on your machine.
|
||||
2. Run `cat $HOME/.ssh/id_ed25519.pub | pbcopy`
|
||||
* This will copy the contents of the file `id_ed25519.pub`, the public key counterpart to the private key generated in the previous step, to your clipboard.
|
||||
|
|
Loading…
Reference in New Issue