安装vscode后 remote-ssh一直无法连接。最后看了下输出中的REMOTE-SSH,每次重试都是报错
channel 3: open failed: administratively prohibited: open failed
在远端服务器修改/etc/ssh/sshd_config文件中:
AllowTcpForwarding yes
重启sshd服务 OK
安装vscode后 remote-ssh一直无法连接。最后看了下输出中的REMOTE-SSH,每次重试都是报错
channel 3: open failed: administratively prohibited: open failed
在远端服务器修改/etc/ssh/sshd_config文件中:
AllowTcpForwarding yes
重启sshd服务 OK
1万+
2181
1904

被折叠的 条评论
为什么被折叠?