在其他电脑使用ssh连接Ubuntu服务器时,出现错误提示:connect to host loaclhost port 22:Connection reused

在使用电脑使用ssh连接Ubuntu服务器时,出现错误提示:connect to host loaclhost port 22:Connection reused;
这个错误一般是Ubuntu服务器没有联网或者没有安装ssh-server造成的,如果是没有安装ssh-server可以通过:
sudo apt-get install openssh-server
命令安装。

你可能感兴趣的:(简单Linux工具,ubuntu,ssh,服务器)