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服务

systemctl start ssh

https://blog.csdn.net/qq_20867981/article/details/80203836
LINUX开启ssh服务,报错:ssh: connect to host 192.168.6.129 port 22: Connection refused

猜你喜欢

转载自blog.csdn.net/weixin_42043407/article/details/116143263