I have a Google Nexus 7 (2013) tablet running Android 5.1.1. I have installed ConnectBot and use it to connect to various networks via ssh.
I purchased a Raspberry Pi Zero and copied Raspbian Jessie (11/21/2015) to a micro SD card.
I have made a physical connection between the Pi Zero and the Nexus 7. I am using an OTG cable attached to the Nexus 7, into which is plugged a standard USB-to-micro cable attached to the USB connector on the Pi Zero. When I connect the cables the power light on the Pi Zero begins flashing, indicating that the connection is successful and the Nexus 7 is supplying power to the Pi Zero.
I would like to ssh into the Pi Zero from the Nexus 7 using a direct connection. I found these directions, but they don't work because my Nexus 7 does not have the tethering option on the wireless and network settings.
So how can a establish an ssh connection between the Pi Zero and the Nexus 7?
I got hostapd working. The wifi app on my Nexus 7 sees the Pi Zero and makes a connection.
But when I go to ConnectBot and try to ssh to the Pi Zero, I get a "Connection refused" error. Specifically, I ssh to pi@RaspberryPiZero and get back a message "Failed to connect to RaspberryPiZero/127.0.1.1 (port 22): connect failed ECONNREFUSED (Connection refused)" from ConnectBot.
How do I ssh from the Nexus 7 to the Pi Zero?
I got it. I was dumb. Instead of ssh to pi@RaspberryPiZero I did [email protected], which is the static address of the Pi Zero. All is working now.