一、Vagrant 安装
Vagrant 官⽹下载地址: https://www.vagrantup.com/downloads.html
VirtualBox 官⽹下载地址: https://www.virtualbox.org/wiki/Downloads
官⽅镜像地址 https://app.vagrantup.com/boxes/search
可以看到现在是root
vi /etc/ssh/sshd_config
PermitRootLogin yes
PasswordAuthentication yes
systemctl restart sshd
xshell就可以重新连接上了。