new ssh key, survives reboot
parent
9e991b3c26
commit
caaccceccb
51
README.md
51
README.md
|
@ -181,6 +181,57 @@ Then take that pubkey created above, and recreate the
|
|||
from="10.0.0.0/8,172.16.0.0/12,192.168.0.0/16" ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOmI1V0P6dSatrpAgkS9rfmkM1Z1ncAVpHJlLlKrgnTw user@laptop
|
||||
```
|
||||
|
||||
On the screen of the Comma Three, go to:
|
||||
|
||||
`Setup Icon (top left) --> Network --> Advanced --> Enable SSH`
|
||||
|
||||
|
||||
Then you should be able to ssh with the new key setup, I think needs to be
|
||||
port `8022`. So set up something like this on the laptop in `~/.ssh/config`.
|
||||
Call the `Host` something different than `tici` so if/when you go back and
|
||||
forth between resets and installs, the SSH is set up for each. golly.
|
||||
|
||||
```
|
||||
Host openpilot
|
||||
User comma
|
||||
Hostname 192.168.1.100
|
||||
Port 8022
|
||||
Identityfile ~/.ssh/id_ed25519-comma
|
||||
```
|
||||
|
||||
Then just SSH there from the laptop:
|
||||
|
||||
```
|
||||
user@laptop:~$ ssh openpilot
|
||||
.~ssos+.
|
||||
+8888888888i,
|
||||
{888888888888o.
|
||||
h8888888888888k
|
||||
t888888888s888k
|
||||
`t88888d/ h88k
|
||||
``` h88l
|
||||
,88k`
|
||||
.d8h`
|
||||
+d8h
|
||||
_+d8h`
|
||||
;y8h+`
|
||||
|-`
|
||||
|
||||
|
||||
Welcome to AGNOS (GNU/Linux 4.9.103+ aarch64)
|
||||
|
||||
System information as of Sat 05 Feb 2022 12:44:08 AM UTC
|
||||
|
||||
System load: 0.23 Temperature: 75.0 C
|
||||
Usage of /: 30.5% of 9.78GB Processes: 586
|
||||
Memory usage: 23% Users logged in: 1
|
||||
Swap usage: 0% IPv4 address for wlan0: 192.168.2.236
|
||||
|
||||
Last login: Sat Feb 5 00:41:30 2022 from 192.168.1.101
|
||||
```
|
||||
|
||||
This should survive reboot.
|
||||
|
||||
|
||||
Another way to do this would be to hijack DNS on your own wifi to intercept
|
||||
the Comma Three's connection to github, then redirect the connection to
|
||||
|
|
Loading…
Reference in New Issue