以win10下使用vscode连接vmware虚拟机中的ubuntu为例
ubuntu下一键安装ssh服务端sudo apt install openssh-server
然后启动ssh服务sudo service ssh start
win10下打开vscode,在插件中查找remote-ssh
,然后安装
按照下图去修改配置文件
会弹出一个下拉菜单,选择第一个文件即可。
然后设置ubuntu的ip和ubuntu的用户
然后点击这个加号
以win10下使用vscode连接vmware虚拟机中的ubuntu为例
ubuntu下一键安装ssh服务端sudo apt install openssh-server
然后启动ssh服务sudo service ssh start
win10下打开vscode,在插件中查找remote-ssh
,然后安装
按照下图去修改配置文件
会弹出一个下拉菜单,选择第一个文件即可。
然后设置ubuntu的ip和ubuntu的用户
然后点击这个加号