3

Running Firefox on a Mac. Debian SSHD running on remote computer. Firefox won't connect, not sure why.

I am able to ssh into the remote system on the command line on port 44. Do I need to change anything in sshd_config?

sshd_config on remote Debian system:

enter image description here

local Mac Firefox network settings (sorry for Japanese):

enter image description here

paperduck
  • 143

1 Answers1

8

I feel that you are expecting firefox to connect to your Debian SSHD service directly?
If that's the case, your understanding of SSH tunnel is completely wrong.
You need to run ssh client on the client machine, to 1) connect to your server and 2) start a local socks proxy. Firefox would then connect to your local socks proxy.
See below diagram:

+--------------+         +---------------+         +---------------+
|  firefox on  |         |  ssh client on|         |    SSHD on    |
|  client pc   +---------+  client pc    +---------+    server     |
|              |         |               |         |               |
+--------------+         +---------------+         +---------------+

The command to start your ssh client would be something like

ssh your-user@yourserver -p 44 -D 7000

And then in your firefox preference, the proxy host would be localhost and proxy port would be 7000

SparedWhisle
  • 4,393