远程登录Ubuntu时 显示network error connection refused 解决方法

需要安装ssh服务

sudo apt-get install openssh-server