【Linux】vscode ssh连接虚拟机
·
1.ubuntu更新
2.NAT连接方式
3.安装vm-tools
4.配置本地网络ipv4设置
5.ubuntu安装ssh
sudo apt update
sudo apt install openssh-server
sudo systemctl status ssh
sudo systemctl start ssh
(sudo vim /etc/ssh/sshd_config
sudo systemctl restart ssh)
sudo ufw allow ssh
6.vscode连接
更多推荐
所有评论(0)