错误1:Could not establish connection to "xx.xx.x.x"
错误2:使用vscode 的remote-server 无法链接服务器,没有输入密码的地方
错误3 :初始化链接失败
此外 如果没有输入密码的地方 请将
配置1:必须要安装最新版本的git for windows
配置2:C:\Users\Fizz\.ssh\known_hosts (自己的路径自己找) 关于该ip的信息删掉
配置3: setting.json
配置 remote.SSH.path 为 C:\Program Files\Git\bin\bash.exe( git 安装的路径)
"remote.SSH.showLoginTerminal": true,
"remote.SSH.useLocalServer": false
https://code.visualstudio.com/docs/remote/ssh
https://code.visualstudio.com/docs/remote/troubleshooting#_installing-a-supported-ssh-client