Make a TCP connection from Bluetooth.
SSH into a headless Raspberry Pi (e.g.: Zero 2 W) which has a bad network configuration.
When you have network connection:
- Run
make device
to build the binary for device. - Put the binary into
/usr/local/bin
. - Move the
.service
file into/etc/systemd/system
. - Enable:
sudo systemctl daemon-reload && sudo systemctl enable tcp-over-bt.service
-
Run
make host
-
Create a SSH config in
~/.ssh/config
:Host zero ProxyCommand tcp-over-bt
-
ssh zero
and wait patiently, it will discover the first available device.
Note: Only one SSH connection is allowed at a time, which is a characteristic of Bluetooth connections. If you want multiple shells, use tmux.
There's no Bluetooth Paring. Anyone can connect to the same device. Authentication is done by SSH.