登錄服務器
1.安裝 Remote Development
2.添加遠程主機
3.輸入user@host
然後回車確認
4.選擇文件記錄信息 可以通過Remote-SSH: Open Configuration File...
來打開編輯
5.Remote-SSh:Connect to Host...
連接遠程服務器
6.選擇主機名稱,剛纔已經配置過了
7.選擇服務器的系統類型
8.填寫登錄密碼
9.成功
退出的登錄
close remote connection
管理插件(Extensions)
也可以使用命令安裝Remote: Install Local Extensions in
配置免密登錄
ssh 通道配置
https://zhuanlan.zhihu.com/p/101684799
https://www.cnblogs.com/piperck/p/6200439.html
文件同步
https://code.visualstudio.com/docs/remote/ssh#_working-with-local-tools
Mount the remote filesystem using SSHFS.
Sync files to/from the remote host to your local machine using rsync.