一.问题描述:xshell连接不了虚拟机,出现错误提示:Connection closing...Socket close.Connection closed by foreign host.Disconnected from remote host(localhost) at 08:47:23. 二.查找错误原因: 1.登录虚拟机,打开终端,切换到root用户,输入systemctl start sshd.service看能否开启sshd服务,提示开启失败,输入systemctl status
用Xshell连接Linux的时候报错了: Connecting to 192.168.79.147:22...Could not connect to '192.168.79.147' (port 22): Connection failed. Type `help' to learn how to use Xshell prompt.Xshell:\> -------------------------------------------------------------------以上为