- Generate SSH key on the Pi:
ssh-keygen -t ed25519 -C "your_email@example.com"
- Copy the public key:
cat ~/.ssh/id_ed25519.pub
-
Add it to GitHub → Settings → SSH and GPG keys → New SSH key.
-
Change your remote URL to SSH:
git remote set-url origin git@github.com:colin-szeto/monkey_bot.git
- List all input devices ls -l /dev/input/by-id/
On a Pi with an F310 plugged in, you should see something like:
usb-Logitech_Gamepad_F310-event-joystick -> ../event3
python3 -m venv venv
source venv/bin/activate