在ubuntu下安装ssh:
sudo apt-get install openssh-server
即可解决.
转载于:https://www.cnblogs.com/chamie/p/9657523.html