eclipse 网站开发源码阿里云centos7做网站
VSCODE连接ssh服务器时提示could not establish connection to解决方法
 1.点击扩展设置
 在Remote.ssh:config file中输入config路径
 
 重新连接即可,如果是之前连接过ubuntu现在无法连接则需要打开刚刚的地址文件中删掉known_hostsj即可
 虚拟机中ubuntu安装SSH与samba服务器方法:
 在虚拟机Ubuntu系统中配置SSH和Samba,用于支持远程访问:
 在ubuntu终端中执行:
 sudo apt-get install openssh-server
 sudo /etc/init.d/ssh start
 ps -e|grep ssh
 sudo passwd root 若未设置过root密码,可自行选择设置
 查看ubuntu ip确定和windows一样
 ifconfig
Samba服务器搭建:
 sudo apt-get update
 sudo apt-get install samba
 sudo gedit /etc/samba/smb.conf
 末尾添加以下
 [share]
 comment = samba home directory
 path = /home/xxxx/esp 你本机路径
 public = yes
 browseable = yes
 public = yes
 read only = no
 writable = yes
 create mask = 0777
 directory mask = 0777
 available = yes
 security = share
重启
 sudo service smbd restart
 sudo ufw allow samba
