解决Xshell连接虚拟机报错:Connecting to 192.168.xx.xx:22... Could not connect to ‘xxx‘ (port 22): Connection
电脑待机或意外情况致使xshell无法连接上虚拟机出现以下情况,Connectingto192.168.112.128:22…Couldnotconnectto‘192.168.18.128’(port22):Connectionfailed.在重启虚拟机和多次重开Xshell进行连接都失败了。最简单的解决办法:打开虚拟机以root管理员身份登陆,键入servicenetworkrestart回车