在Windows上用VS Code远程调式linux代码
来源:http://www.tudoupe.com时间:2022-03-27
场景: Linux 服务器上的 C/C++ 代码, 可用 VS 代码关闭 。
1 Git 安装(主要为 ssh),官方网络: Git
开放 git Bash, 类型 ssh-keygen-t rsa, 然后一直返回 /., 酒吧文档;
2. 复制位于Linux/.ssh/授权钥匙下的id_rsa.Pub文件,在没有目录和文件的情况下制作;
三,我不知道你在说什么,Ssh;加上许可,Chmod 700-R/。
git配置完了
二. 《VS发射规则》
一. 远程发展插件安装;
二. 允许远程访问设置。 我不知道你在说什么, SSH. I'm not sure, 显示登录终端;
3. ctrl+shift+p打开命令行,输入>remote ssh config会出现命令,选择,再选择C:Usersxxx.sshconfig,编辑:
# Read more about SSH config files: https://linux.die.net/man/5/ssh_config
厘米7.3 # 主机名称
HostName 192.168.88.200 # ip
User root
Port 22
PreferredAuthentications publickey
IdentityFile ~/.ssh/id_rsa
点击连接,输入是,等待安装 vs 代码服务器,你就完了。
此外,离线安装与代码服务器https://www.cnblogs.com/sinicheveen/p/13812278.html
https://www.cnblogs.com/sinicheveen/p/13812278.html
上一篇:windows驱动过滤-串口过滤
下一篇:MinIO文件服务器安装使用
相关新闻
- 2022-08-04 WPF的由来
- 2022-08-04 Win11勒索软件防护怎么打开?Win11安
- 2022-08-04 Windows系统jdk的配置
- 2022-08-04 Windows10 OneNote怎么重新登录?如何重
- 2022-08-04 超好用的 Windows 效率工具推荐
- 2022-08-04 Windows如何在CMD或PowerShell中配置代理
- 2022-08-04 powershell和cmd对比
- 2022-08-04 【QT】Windows下QT下载安装
- 2022-08-04 windows下 C++ 实现类属性的get和set方
- 2022-08-04 Win11快速助手在哪里?Win11打开快速
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
