Updated SSH (markdown)

master
Nelson Chen 2021-08-30 09:49:51 -07:00
parent f036525513
commit 45d26e5f6d
1 changed files with 1 additions and 1 deletions

2
SSH.md

@ -69,7 +69,7 @@ Windows 10 already comes with a SSH client and has everything you need to SSH in
1. Open PowerShell. You can find PowerShell by pressing the Start Menu and typing "PowerShell".
* You can copy and paste commands from this document by copying, and then "right-clicking" on the PowerShell window to "paste". Try _copying_ and running this command: `echo hello`. The PowerShell window should print out "hello".
2. You'll need to have an SSH key on your Mac that is added to GitHub to proceed. For instructions on how to create a key and upload it to GitHub, please follow these steps. If you have already created a key and uploaded it to GitHub, skip to the next step.
2. You'll need to have an SSH key on your PC that is added to GitHub to proceed. For instructions on how to create a key and upload it to GitHub, please follow these steps. If you have already created a key and uploaded it to GitHub, skip to the next step.
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`