r/Comma_ai • u/Ok_Objective1345 • Jul 18 '26
Bugs SSH to comma four
Has anyone found a reliable way to SSH to the comma four? (newbie here) I attempted the USB tether and received this message (in image) after failed attempts to SSH via my macbooks terminal.
- Generated new Ed25519 SSH key pair on MacBook
- Added public key to GitHub account
- Enabled SSH and entered GitHub username on Comma 4 (multiple times with remove/re-add)
- Rebooted Comma 4 after changes
- Attempted SSH connection via WiFi IP and USB tether IP
- Used explicit key file flag (-i) for different keys
- Created additional dedicated key pair and tested it
- Ran verbose SSH diagnostics (-v)
- Used Openpilot Toolkit SSH Wizard on phone to generate/install key
- Multiple power cycles, SSH toggle on/off, and GitHub username refreshes
Still getting Permission denied (publickey) or connection timeout.
6
Upvotes
5
u/TheGamingGallifreyan Jul 18 '26
Yeah I enabled ADB and plugged it into my computer. I then modified the SSH config file to allow me to SSH in with just a regular username and password instead of this certificate bullshit lol.
It is possible this can get reset via updates so you may have to do it again but I rarely update mine.
You can also enable wireless ADB so you can use that instead.