By default, you can get a remote shell on you smartwatch with SSH over RNDIS. On some smartwatches, it is also possible to use SSH with Wi-Fi.

By default, USB Moded set up udhcpd so that your watch gets the IP address on its rndis interface. You can then connect to your watch from your computer with the following command:

ssh ceres@

If your computer does not automatically get an IP address for its rndis interface, you might need to run this first:

sudo dhclient -v enp0s20f0u8

Dropbear is already running on the watch so we just need an IP address configured to connect.

Ensure wireless drivers are enabled for the watch.

Build your asteroid-image with iproute2 and wpa-supplicant. In meta-{watch}-hybris/conf/machine/{watch}.conf add iproute2 and wpa-supplicant to IMAGE_INSTALL:

IMAGE_INSTALL += "android-tools android-system msm-fb-refresher brcm-patchram-plus iproute2 wpa-supplicant connman-client"

Once your image is installed on the watch, open up an adb shell or ssh root@

# connmanctl
connmanctl> enable wifi
connmanctl> scan wifi
connmanctl> services
connmanctl> agent on
connmanctl> connect wifi_
connmanctl> quit
# ip a show dev wlan0

some more details on ArchWiki

The watch should automatically get an IPv6 address from your network or you can set a static IPv4. You can disconnect from adb and connect via SSH.

By default, there is no root or ceres password, and no firewall rules.