VS Code Remote-SSH 连接频繁提示 could not establish connection to connecting with ssh timed out
修改了两个配置。
1、Enables a mode for connecting using a single connection shared between windows and across window reloads. This makes it faster to open new windows and reduces the number of times a password needs to be entered.
"remote.SSH.useLocalServer": false
2、Specifies the timeout in seconds used for the SSH command that connects to the remote.
"remote.ssh.connectTimeout": 15
参考链接:https://stackoverflow.com/questions/59978826/why-ssh-connection-timed-out-in-vscode
本文来自博客园,作者:imzhi,转载请注明原文链接:https://www.cnblogs.com/imzhi/p/17105175.html