目标:将Ubuntu和Firefox配置为一个远程Asus路由器,并通过Firefox访问远程路由器的配置GUI。
来自远程路由器的top返回:
PID PPID USER STAT VSZ %VSZ CPU %CPU COMMAND
22984 493 user S 1132 0.4 0 0.0 dropbear -p 22 -j -k远程路由器配置了openssh-sftp服务器和Merlin固件:
ipkg list_installed | grep ssh返回:
openssh-sftp-server - 5.9p1-1 - sftp-server only from a FREE version 的SSH协议套件的网络连接工具。
Ubuntu 动态端口转发是用以下方法创建的:
ssh -D localhost:3000 user@mydomain.comFirefox代理配置:

隧道使用http://www.whatismyip.com进行测试,但是测试无法返回网页。在BASH控制台中可以观察到这些错误消息:
channel 3: open failed: administratively prohibited:
channel 4: open failed: administratively prohibited:
channel 5: open failed: administratively prohibited:
channel 6: open failed: administratively prohibited: 问题
诊断问题和任何可采取行动的指导,以达到这一目标将受到赞赏。
发布于 2020-02-22 22:43:39
正确配置了SSH动态端口转发。为了实现这一目标,Asus路由器有一个允许SSH端口转发的设置,必须启用该设置:

ppenguin建议:为了获得额外的安全性,请考虑添加/更新包含您的公钥的authorized_keys文件(通常在/root/.ssh/authorized_keys中)。测试之后,您可以在没有密码的情况下登录(使用您的公钥/私钥对),关闭Allow Password Login。
https://unix.stackexchange.com/questions/569058
复制相似问题