Right now I'm sshed to my rpi via wifi, however I would like my pi to use the direct ethernet connection to connect to the internet. I was wondering how I would go about doing this...
1 Answer 1
Have you considered using the %interface
scheme in SSH ?
You can do something like ssh -l pi 192.168.50.1%eth0
I think it should work.
You are essentially telling which interface should you ssh into via the %eth0
I tend to use it on my PC.
I have wlan0
configured in ad-hoc mode and everytime I need to SSH into pis over the same interface I use:
ssh -l pi IPv6LLaddress%wlan0
It should work for IPv4 too.
/etc/network/interfaces
to your needs.