Can one Ethernet cable supply internet and an SSH connection?

If you are on the same network you can plug it into Ethernet and connect wirelessly using SSH.