Get support:

Raspberry Pi Zero W SSH remote on USB port

| 14:21:43 29.08.20
Here we discribe how to using SSH remote on USB port with Raspberry Pi Zero W:
1. SSH remote on USB port: 
In /boot directory of Raspberry OS SD card add in the end of config.txt file this line: dtoverlay=dwc2 
In the same directory in file cmdline.txt add: modules-load=dwc2,g_ether after rootwait 
In the same directory make empty file ssh for ssh enable

 Insert SD card in Raspberry Pi Zero and flash it using USB data port (not Power port)
 On the host PC with Ubuntu OS go to the NetworkManager and change your IPv4 wired connection to local network only

 Connect: $ ssh pi@raspberrypi.local Password: raspberry