天天看点

linux ssh登录,报错:ssh: connect to host 192.xxx.xxx.xxx port 22: Connection refused需求解决

需求

想通过 ssh 用户名@服务器地址 登录

但是 报错:ssh: connect to host 192.xxx.xxx.xxx port 22: Connection refused

解决

安装ssh组件

sudo apt-get install openssh-server
           

启动ssh服务

https://blog.csdn.net/qq_20867981/article/details/80203836

LINUX开启ssh服务,报错:ssh: connect to host 192.168.6.129 port 22: Connection refused

继续阅读