将VS和ubuntu建立联系
Ubuntu中安装openssh服务
用来使VScode中使用ssh远程操作Ubuntu开发
sudo apt-get install openssh-server
启动命令
sudo systemctl start ssh
查询IP
ifconfig
不被识别
安装net-tools
sudo apt-get install net-tools
查询用户名
whoami
Ubuntu中安装openssh服务
用来使VScode中使用ssh远程操作Ubuntu开发
sudo apt-get install openssh-server
启动命令
sudo systemctl start ssh
查询IP
ifconfig
不被识别
安装net-tools
sudo apt-get install net-tools
查询用户名
whoami