windows平台VS code配置remote ssh

VS code romote ssh配置

主要参考这篇博文:https://www.jianshu.com/p/d7c9cef525bc

出现Connecting was canceled.问题

主要报错:
[13:34:40.403] Log Level: 2
[13:34:40.414] [email protected]
[13:34:40.414] win32 x64
[13:34:40.415] SSH Resolver called for “ssh-remote+yed”, attempt 1
[13:34:40.416] SSH Resolver called for host: yed
[13:34:40.416] Setting up SSH remote “yed”
[13:34:40.438] Using commit id “0ba0ca52957102ca3527cf479571617f0de6ed50” and quality “stable” for server
[13:34:40.439] Install and start server if needed
[13:34:41.482] getPlatformForHost was canceled
[13:34:41.482] Resolver error: Connecting was canceled
[13:34:41.485] ------

解决办法:
打开vs code设置
在这里插入图片描述
点击左上角 open settings(Json):
在这里插入图片描述
在Json中增加
“remote.SSH.remotePlatform”: {
“yed”: “linux”,
}
yed为我此次的连接名字,保存,再次连接即可正常连接


解决vscode远程连接linux系统无法跳转(f12失效)问题

https://blog.csdn.net/qq_27727147/article/details/101203360


vscode中设置python虚拟环境

https://www.jianshu.com/p/1189760675d0


linux pycharm配置问题

http://blog.sina.com.cn/s/blog_8ea8e9d50102xfrf.html


pycharm导入本地py文件时,模块下方出现红色波浪线时如何解决

https://blog.csdn.net/qq_30622831/article/details/80978118

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章