I have successfully setup a tunnel over SSH on linux mint, and can browse the web.
However, when I try to ssh using the same port, I get:
Couldn't establish connection to proxy: Network is unreachable
ssh_exchange_identification: Connection closed by remote host
In my mate-network-properties
I have selected manual proxy configuration, and socks host is 127.0.0.1
So why doesn't ssh use that proxy information, and can I make it use said proxy?
Best Answer
You don't need to tunnel
ssh
. You canssh
to the intermediary host thenssh
to anywhere else you need.You can even do it in a single command by forcing allocation of a pseudo-tty using the
-t
flag:The only down side is that you have multiple SSH sessions. But I can't really see why that would be a problem.