# In the root folder of the SD card
touch ssh
# open config.txt and append at bottom
dtoverlay=dwc2
# open cmdline.txt
# After rootwait, append this text leaving only one space between rootwait and the new text
modules-load=dwc2,g_ether