Off grid SSH access zero W

February 14, 2024, 10:03

henkpower72

The goal is to SSH from my mac to the zero with just one cable. I basically want a 'plug and play' version of ssh without the need of any internet connection, since i'm planning on working off grid. I have access to a monitor and wifi for the setup if necessary.

oops.se

You can use "USB Gadget" where you run ssh over the USB cable.

henkpower72

i have been searching all week

henkpower72

thx it worked!

oops.se

Nice.

oops.se

Its a handy tool

henkpower72

Do you also happen to know if it is possible to ssh into the zero without the usb? I had in mind that the pi has some sort of offline webserver you can connect to and have the kernel in your browser.

henkpower72

So when the pi is turned on off grid and you are close by, you can access the kernel by going to raspberrypi.local

oops.se

You can configure the Zero to be a WiFi AP (Access Point). And a correction, you don't access the Kermel, you access a terminal session via SSH.

henkpower72

Just to be clear. I would like to have my raspberry in my backpack at all times and I want to access the terminal session without any cables nor WiFi. Is that even possible?

oops.se

Yes you can either use Bluetooth or WiFi AP. But note that a WiFi AP is consuming a lot of power (battery). And Raspberry Pi Zero W has Bluetooth built in.