【windows10】+【vscode】远程
·
【windows10】+【vscode】远程
本地配置服务器的免密登录
- 下载Git客户端
- 在windows使用Git bash执行命令
ssh-keygen -t rsa ssh-copy-id -p 端口 用户名@ip
vscode配置
- 在VS Code扩展商店中搜索remote安装Remote Development
- 使用ctrl+shift+p的快捷键调用命令,执行Remote-SSH:Connect to Host,然后选择配置config文件的路径
Host server1 Hostname xxx.xxx.xxx.xxx User xx
更多推荐
所有评论(0)