Linux
KylinServerV10与visual studio调试的问题SSH错误An SSH channel could not be opened. Verify that TCP forwarding is enabled on the server.
KylinServerV10卸载下载软件包以及依赖离线安装软件包rpm dnf yumdownloader
KylinServerV10重启后网络设置被还原reboot网络被还原为DHCP静态IP设置
本文档使用 MrDoc 发布
-
+
首页
KylinServerV10与visual studio调试的问题SSH错误An SSH channel could not be opened. Verify that TCP forwarding is enabled on the server.
# 说明 vs2022无法与KylinServerV10进行远程调试,但是我用的ubuntu却可以正常调试运行?然后一直出现这个错误:An SSH channel could not be opened. Verify that ICP forwarding is enabled on the server.  后面通过卸载ssh和rsync服务都不行,甚至,卸载这些服务后,系统会出现无法登录系统的情况... # 解决方案 ==解决方法其实比较简单,就是将AllowTcpForwarding yes放开注释即可== 好像之前也测试过,为什么没有生效呢??? ## 打开sshd_config文件修改 ```bash pluma /etc/ssh/sshd_config ``` 然后在第100行去掉注释符号即可! ## 重启服务 ```bash systemctl restart sshd ``` ~~有说需要将UseDNS no 打开,但是好像没有用啊。~~  编辑:myhappyandy
虚拟世界
2025年11月3日 21:05
转发文档
收藏文档
上一篇
下一篇
手机扫码
复制链接
手机扫一扫转发分享
复制链接
Markdown文件
分享
链接
类型
密码
更新密码