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

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