出现这种情况是因为ubuntu没有安装ssh服务,执行下面代码: sudo apt-get install openssh-server 转载于:https://www.cnblogs.com/liulianghui/p/11559013.html