收起左侧

更新1.2.0203版本后vscode无法链接

0
回复
10
查看
[ 复制链接 ]

1

主题

1

回帖

0

牛值

江湖小虾

系统版本:X86

设备环境:物理机、局域网、系统版本号:1.2.0203

BUG现象:更新1.2.0203之后使用vscode链接设备时出现报错(升级前正常使用):

[22:02:22.933] Failed to set up socket for dynamic port forward to remote port 39515: Socket closed. TCP port forwarding may be disabled, or the remote server may have crashed. See the VS Code Server log above for details.
[22:02:22.933] Failed to set up socket for dynamic port forward to remote port 39515: Socket closed. TCP port forwarding may be disabled, or the remote server may have crashed. See the VS Code Server log above for details.
[22:02:22.953] > channel 3: open failed: administratively prohibited: open failed
> channel 4: open failed: administratively prohibited: open failed
[22:02:22.953] 错误: 远程主机上似乎禁用了 TCP 端口转发。确保 sshd_config 具有 `AllowTcpForwarding yes`。如有需要,请与系统管理员联系。

第一次出现这个问题sshd_config文件中AllowTcpForwarding yes被注释,修改文件并重启sshd服务后问题依然存在。然后将设备重启后确认sshd_config中AllowTcpForwarding没有被注释再次使用vscode链接依然报前述相同错误。

出现频率:必现

联系方式:13135791702, 108群-AAA兵王何晨光

日志文件: https://share.fnnas.net/s/210e5fe621bd46dda8

收藏
送赞
分享
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则