I have two NICs. I want to use one (eth0) for connecting to Host_A using SSH and the other (eth1) for everything else.
I also run a Socks proxy through that SSH connection to Host_A. All traffic through that proxy should also use eth0 (the same as the ssh connection itself).
How do I set this up?
EDIT: Forgot to mention that the two NICs are connected to different networks.
EDIT 2: After adding the route to Host_A, the new default route and deleting the old default route I can successfully connect using ssh to Host_A. (Thanks @MariusMatutiae)
It does however take "forever" for the password prompt to appear. With only eth0 active it appears much faster.
I can also not use the SOCKS5 proxy I create by specifying -D 8080 when connecting.