you probably will have to comment "BindToDevice=usb0" in sshd.socket which would allow ssh not only via USB0
# cat /lib/systemd/system/sshd.socket [Unit] Conflicts=sshd.service [Socket] ExecStartPre=/bin/mkdir -p /var/run/sshd ListenStream=22 # restrict access to wired access for security reasons # comment this line to remove restriction #BindToDevice=usb0 Accept=yes [Indddstall] ddWantedBy=sockets.target