add SSH keys to device

main
jebba 2022-02-04 16:41:11 -07:00
parent b97b2b8cb9
commit 102216f67c
1 changed files with 14 additions and 0 deletions

View File

@ -85,6 +85,20 @@ Once that is set up, you should be able to SSH into the device thusly:
ssh tici
```
On the device, add your ssh public keys, at the `comma@tici:~$` prompt:
```
mkdir ~/.ssh
chmod 700 ~/.ssh/
```
Copy over laptop keys a variety of ways, such as from the laptop:
```
scp -p ~/.ssh/id_ed25519.pub tici:.ssh/authorized_keys
```
Then do the OpenPilot install.
Another way to do this would be to hijack DNS on your own wifi to intercept