How can I test software external devices with ssh over usb?

I need to access an external device with SSH over USB with my Macbook Pro, that I use for development. For the following command I get an error:


sudo ifconfig usb0 up 192.168.2.15
ifconfig: interface usb0 does not exist


What is the appropriate interface of a Macbook Pro with USB-C?