pap*_*uck 3 firefox ssh socks-proxy sshd ssh-tunnel
在 Mac 上运行 Firefox。在远程计算机上运行的 Debian SSHD。Firefox 无法连接,不知道为什么。
我可以通过 44 端口的命令行 ssh 进入远程系统。我需要更改 sshd_config 中的任何内容吗?
远程 Debian 系统上的 sshd_config:
本地 Mac Firefox 网络设置(抱歉日语):
我觉得您希望 Firefox 直接连接到您的 Debian SSHD 服务?
如果是这样的话,你对SSH隧道的理解是完全错误的。
您需要在客户端机器上运行 ssh 客户端,以 1) 连接到您的服务器和 2) 启动本地袜子代理。然后 Firefox 将连接到您的本地袜子代理。
见下图:
+--------------+ +---------------+ +---------------+
| firefox on | | ssh client on| | SSHD on |
| client pc +---------+ client pc +---------+ server |
| | | | | |
+--------------+ +---------------+ +---------------+
Run Code Online (Sandbox Code Playgroud)
启动 ssh 客户端的命令类似于
ssh your-user@yourserver -p 44 -D 7000
Run Code Online (Sandbox Code Playgroud)
然后在您的 Firefox 首选项中,代理主机将是localhost,代理端口将是7000
| 归档时间: |
|
| 查看次数: |
631 次 |
| 最近记录: |