ubuntu能ping通却ssh不上的解决办法。
1.问题:
ssh 192.168.144.130
ssh: connect to host 192.168.144.130 port 22: Connection refused

2.原因:因为Ubuntu默认没有安装openssh-server
3.检查是否安装指令:$ ps -e|grep ssh
4.如何输出没有或者只有一个ssh-agent就说没没安装.

5.安装指令:$ sudo apt-get install openssh-server
6.安装完后输入:$ ssh localhost 如果要输密码就说明成功,也可以用指令检查:ps -e|grep ssh

7.如有其他问题欢迎留言探讨!