Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

Setup your GitHub SSH key

...

.

  1. Run ssh-keygen -t ed25519 -C "your_email@example.com". Press Enter for all prompts until it completes.

  2. Copy the public key:

    1. Windows: clip < ~/.ssh/id_ed25519.pub

    2. MacOS: pbcopy < ~/.ssh/id_ed25519.pub

  3. Go to https://github.com/settings/keys

  4. Add your key to your account by clicking “New SSH Key”

    image-20240923-190840.pngImage Added

  5. Go back to your terminal. Make sure you can run ssh -T git@github.com. If it does not say you’re authenticated, please troubleshoot or reach out if you need help!

    Setup SSH key forwarding

  6. Create `~/.ssh/config`

  7. Add SSH keys

    Code Block
    Host 23.163.56.180
            ForwardAgent yes
  8. Run eval "$(ssh-agent)"

  9. Run ssh-add

  10. Run

SSH into the PC with VS Code

  1. Install the remote extensions in VS Code

    image-20240923-191251.pngImage Added

  2. Click on the remote explorer icon on the left bar of VS Code

    image-20240923-191339.pngImage Added

  3. Under “REMOTES (TUNNELS/SSH)” click on the plus button next to “SSH”. It will be hidden until you hover over it.

  4. When prompted, paste this into the box in the top center of your screen

    1. ssh -A firmware@23.163.56.180

  5. When prompted, select the first ssh config file in the list.

  6. Please message a lead to get the password to the computer

  7. Create a new directory using your github username under ~/dev/<your-username>

  8. Clone the repo using git@github.com:uw-midsun/fwxv.git

  9. cd in and build the repo