1.下载xshell,使用邮箱申请个人免费版
https://www.netsarang.com/en/xshell/
2.ifconfig查看虚拟机ip地址
3.xshell新建会话,输入用户名密码
4.连接遇到报错
解决办法:
(1)开启linux ssh服务:service ssh start
(2)修改 vim /etc/ssh/sshd_config
将 PermitRootLogin 这一项改成 yes
(3)重启ssh服务 :service ssh restart
(4)xshell重新连接成功,可远程执行命令
5.设置ssh服务开机自启:systemctl enable ssh.service



